public interface ChangeUserPassword
This interface is not intended to be implemented by bundles. It is implemented by this bundle and may be used by client bundles.
|Modifier and Type||Method and Description|
Update the password of a user in the repository
org.apache.jackrabbit.api.security.user.User changePassword(javax.jcr.Session jcrSession, String name, String oldPassword, String newPassword, String newPasswordConfirm, List<Modification> changes) throws javax.jcr.RepositoryException
jcrSession- the JCR session of the user updating the user
name- The name of the user to update (required)
oldPassword- The current password of the user (required for non-admin users)
newPassword- The password value to apply (required)
newPasswordConfirm- The password value to apply again (required)
changes- The list of changes for this operation (optional)
Copyright © 2015 The Apache Software Foundation. All rights reserved.