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, onPasswordChange
public void onRemove(@NotNull @NotNull Authorizable authorizable, @NotNull @NotNull Root root, @NotNull @NotNull NamePathMapper namePathMapper) throws RepositoryException
AbstractAuthorizableAction
onRemove
in interface AuthorizableAction
onRemove
in class AbstractAuthorizableAction
authorizable
- The authorizable to be removed.root
- The root associated with the user manager.RepositoryException
- If an error occurs.Copyright © 2010 - 2020 Adobe. All Rights Reserved