public class ClearMembershipAction extends AbstractAuthorizableAction
Group.removeMember(Authorizable)
fails due to lack of permissions AuthorizableAction.onRemove(org.apache.jackrabbit.api.security.user.Authorizable, org.apache.jackrabbit.oak.api.Root, org.apache.jackrabbit.oak.namepath.NamePathMapper)
throws an exception and removing the specified authorizable will be aborted.| Constructor and Description |
|---|
ClearMembershipAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
onRemove(@NotNull Authorizable authorizable,
@NotNull Root root,
@NotNull NamePathMapper namePathMapper)
Doesn't perform any action.
|
init, onCreate, onCreate, onPasswordChangepublic void onRemove(@NotNull
@NotNull Authorizable authorizable,
@NotNull
@NotNull Root root,
@NotNull
@NotNull NamePathMapper namePathMapper)
throws RepositoryException
AbstractAuthorizableActiononRemove in interface AuthorizableActiononRemove in class AbstractAuthorizableActionauthorizable - The authorizable to be removed.root - The root associated with the user manager.RepositoryException - If an error occurs.Copyright © 2010 - 2023 Adobe. All Rights Reserved