문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top