public abstract class ACE extends Object implements org.apache.jackrabbit.api.security.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(@NotNull String restrictionName) |
@NotNull String[] |
getRestrictionNames() |
@NotNull Set<Restriction> |
getRestrictions() |
@Nullable Value[] |
getRestrictions(@NotNull 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 org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry@NotNull public @NotNull String[] getRestrictionNames()
getRestrictionNames in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry@Nullable public @Nullable Value getRestriction(@NotNull @NotNull String restrictionName) throws RepositoryException
getRestriction in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntryRepositoryException@Nullable public @Nullable Value[] getRestrictions(@NotNull @NotNull String restrictionName)
getRestrictions in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntryCopyright © 2012–2020 The Apache Software Foundation. All rights reserved.