Question

How to save the password in the Hippo repository?

I wrote a class which generate a new password, and i want his to be saved in the repository. But how i do this?

Was it helpful?

Solution

The cms has a plugin for changing the password via the ui. You could take a look at that for inspiration. See org.hippoecm.frontend.plugins.cms.admin.users.User.savePassword(String) for an example.

Perhaps this page can help some as well: http://www.onehippo.org/7_8/library/administration/users.html

Essentially it is a property on a node. So if you can get the node you can change it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top