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
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.- Since:
- OAK 1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPasswordChange(@NotNull User user, @Nullable 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, onRemoveMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jackrabbit.oak.spi.security.user.action.AuthorizableAction
onCreate
-
Constructor Details
-
PasswordChangeAction
public PasswordChangeAction()
-
-
Method Details
-
onPasswordChange
public void onPasswordChange(@NotNull @NotNull User user, @Nullable @Nullable String newPassword, @NotNull @NotNull Root root, @NotNull @NotNull NamePathMapper namePathMapper) throws RepositoryException Description 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.namePathMapper-- Throws:
RepositoryException- If an exception or error occurs.
-