Frage

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top