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) |
@NotNull Principal |
getPrincipal() |
@NotNull PrivilegeBits |
getPrivilegeBits() |
@Nullable Value |
getRestriction(String restrictionName) |
@NotNull String[] |
getRestrictionNames() |
@NotNull Set<Restriction> |
getRestrictions() |
@Nullable 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@NotNull public @NotNull PrivilegeBits getPrivilegeBits()
@NotNull public @NotNull Set<Restriction> getRestrictions()
@NotNull public @NotNull Principal getPrincipal()
getPrincipal in interface AccessControlEntrypublic boolean isAllow()
isAllow in interface JackrabbitAccessControlEntry@NotNull public @NotNull String[] getRestrictionNames()
getRestrictionNames in interface JackrabbitAccessControlEntry@Nullable public @Nullable Value getRestriction(String restrictionName) throws RepositoryException
getRestriction in interface JackrabbitAccessControlEntryRepositoryException@Nullable public @Nullable Value[] getRestrictions(String restrictionName)
getRestrictions in interface JackrabbitAccessControlEntryCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.