public abstract class ACE extends Object implements JackrabbitAccessControlEntry
JackrabbitAccessControlEntry interface.
It asserts that the basic contract is fulfilled but does perform any additional
validation on the principal, the privileges or the specified restrictions.| Constructor and Description |
|---|
ACE(Principal principal,
PrivilegeBits privilegeBits,
boolean isAllow,
Set<Restriction> restrictions,
org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Principal |
getPrincipal() |
PrivilegeBits |
getPrivilegeBits() |
Value |
getRestriction(String restrictionName) |
String[] |
getRestrictionNames() |
Set<Restriction> |
getRestrictions() |
Value[] |
getRestrictions(String restrictionName) |
int |
hashCode() |
boolean |
isAllow() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetPrivilegespublic ACE(Principal principal, PrivilegeBits privilegeBits, boolean isAllow, Set<Restriction> restrictions, org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper) throws AccessControlException
AccessControlException@Nonnull public PrivilegeBits getPrivilegeBits()
@Nonnull public Set<Restriction> getRestrictions()
@Nonnull public Principal getPrincipal()
getPrincipal in interface AccessControlEntrypublic boolean isAllow()
isAllow in interface JackrabbitAccessControlEntry@Nonnull public String[] getRestrictionNames() throws RepositoryException
getRestrictionNames in interface JackrabbitAccessControlEntryRepositoryException@CheckForNull public Value getRestriction(String restrictionName) throws RepositoryException
getRestriction in interface JackrabbitAccessControlEntryRepositoryException@CheckForNull public Value[] getRestrictions(String restrictionName) throws RepositoryException
getRestrictions in interface JackrabbitAccessControlEntryRepositoryExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.