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
PasswordChangeAction
asserts 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 void
onPasswordChange(@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, onRemove
-
Methods inherited from class java.lang.Object
clone, equals, finalize, 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 String newPassword, @NotNull @NotNull Root root, @NotNull @NotNull NamePathMapper namePathMapper) throws RepositoryException
Description copied from class:AbstractAuthorizableAction
Doesn't perform any action.- Specified by:
onPasswordChange
in interfaceAuthorizableAction
- Overrides:
onPasswordChange
in 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.
-
-