Class PasswordChangeAction
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.user.action.AbstractAuthorizableAction
-
- org.apache.jackrabbit.oak.spi.security.user.action.PasswordChangeAction
-
- All Implemented Interfaces:
AuthorizableAction
public class PasswordChangeAction extends AbstractAuthorizableAction
PasswordChangeActionasserts that the upononPasswordChange(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.- Since:
- OAK 1.0
- See Also:
User.changePassword(String),User.changePassword(String, String)
-
-
Constructor Summary
Constructors Constructor Description PasswordChangeAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonPasswordChange(@NotNull User user, @Nullable java.lang.String newPassword, @NotNull Root root, @NotNull NamePathMapper namePathMapper)Doesn't perform any action.-
Methods inherited from class org.apache.jackrabbit.oak.spi.security.user.action.AbstractAuthorizableAction
init, onCreate, onCreate, onRemove
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.oak.spi.security.user.action.AuthorizableAction
onCreate
-
-
-
-
Method Detail
-
onPasswordChange
public void onPasswordChange(@NotNull @NotNull User user, @Nullable @Nullable java.lang.String newPassword, @NotNull @NotNull Root root, @NotNull @NotNull NamePathMapper namePathMapper) throws RepositoryExceptionDescription copied from class:AbstractAuthorizableActionDoesn't perform any action.- Specified by:
onPasswordChangein interfaceAuthorizableAction- Overrides:
onPasswordChangein classAbstractAuthorizableAction- Parameters:
user- The user that whose password is going to change.newPassword- The new password as specified inUser.changePassword(java.lang.String)root- The root associated with the user manager.- Throws:
RepositoryException- If an exception or error occurs.
-
-