public class PasswordChangeAction extends AbstractAuthorizableAction
PasswordChangeAction
asserts that the upon
onPasswordChange(org.apache.jackrabbit.api.security.user.User, String,
org.apache.jackrabbit.oak.api.Root, org.apache.jackrabbit.oak.namepath.NamePathMapper)
a different, non-null password is specified.User.changePassword(String)
,
User.changePassword(String, String)
Constructor and Description |
---|
PasswordChangeAction() |
Modifier and Type | Method and Description |
---|---|
void |
onPasswordChange(@NotNull User user,
java.lang.String newPassword,
@NotNull Root root,
@NotNull NamePathMapper namePathMapper)
Doesn't perform any action.
|
init, onCreate, onCreate, onRemove
public void onPasswordChange(@NotNull @NotNull User user, java.lang.String newPassword, @NotNull @NotNull Root root, @NotNull @NotNull NamePathMapper namePathMapper) throws RepositoryException
AbstractAuthorizableAction
onPasswordChange
in interface AuthorizableAction
onPasswordChange
in class AbstractAuthorizableAction
user
- The user that whose password is going to change.newPassword
- The new password as specified in User.changePassword(java.lang.String)
root
- The root associated with the user manager.RepositoryException
- If an exception or error occurs.Copyright © 2010 - 2023 Adobe. All Rights Reserved