public abstract class AbstractAuthorizableAction extends java.lang.Object implements AuthorizableAction
AuthorizableAction interface that
doesn't perform any action. This is a convenience implementation allowing
subclasses to only implement methods that need extra attention.| Constructor and Description |
|---|
AbstractAuthorizableAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(SecurityProvider securityProvider,
ConfigurationParameters config)
Doesn't perform any action.
|
void |
onCreate(Group group,
Root root,
NamePathMapper namePathMapper)
Doesn't perform any action.
|
void |
onCreate(User user,
java.lang.String password,
Root root,
NamePathMapper namePathMapper)
Doesn't perform any action.
|
void |
onPasswordChange(User user,
java.lang.String newPassword,
Root root,
NamePathMapper namePathMapper)
Doesn't perform any action.
|
void |
onRemove(Authorizable authorizable,
Root root,
NamePathMapper namePathMapper)
Doesn't perform any action.
|
public void init(SecurityProvider securityProvider, ConfigurationParameters config)
init in interface AuthorizableActionpublic void onCreate(Group group, Root root, NamePathMapper namePathMapper) throws RepositoryException
onCreate in interface AuthorizableActiongroup - The new group that has not yet been persisted;
e.g. the associated tree is still 'NEW'.root - The root associated with the user manager.RepositoryExceptionpublic void onCreate(User user, java.lang.String password, Root root, NamePathMapper namePathMapper) throws RepositoryException
onCreate in interface AuthorizableActionuser - The new user that has not yet been persisted;
e.g. the associated tree is still 'NEW'.password - The password that was specified upon user creation.root - The root associated with the user manager.RepositoryException - If an error occurs.public void onRemove(Authorizable authorizable, Root root, NamePathMapper namePathMapper) throws RepositoryException
onRemove in interface AuthorizableActionauthorizable - The authorizable to be removed.root - The root associated with the user manager.RepositoryException - If an error occurs.public void onPasswordChange(User user, java.lang.String newPassword, Root root, NamePathMapper namePathMapper) throws RepositoryException
onPasswordChange in interface AuthorizableActionuser - 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 - 2018 Adobe Systems Incorporated. All Rights Reserved"