public abstract class ACE extends java.lang.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(java.security.Principal principal,
PrivilegeBits privilegeBits,
boolean isAllow,
java.util.Set<Restriction> restrictions,
org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
@NotNull java.security.Principal |
getPrincipal() |
@NotNull PrivilegeBits |
getPrivilegeBits() |
@Nullable Value |
getRestriction(@NotNull java.lang.String restrictionName) |
@NotNull java.lang.String[] |
getRestrictionNames() |
@NotNull java.util.Set<Restriction> |
getRestrictions() |
@Nullable Value[] |
getRestrictions(@NotNull java.lang.String restrictionName) |
int |
hashCode() |
boolean |
isAllow() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetPrivilegespublic ACE(java.security.Principal principal,
PrivilegeBits privilegeBits,
boolean isAllow,
java.util.Set<Restriction> restrictions,
org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
throws AccessControlException
AccessControlException@NotNull public @NotNull PrivilegeBits getPrivilegeBits()
@NotNull public @NotNull java.util.Set<Restriction> getRestrictions()
@NotNull public @NotNull java.security.Principal getPrincipal()
getPrincipal in interface AccessControlEntrypublic boolean isAllow()
isAllow in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry@NotNull public @NotNull java.lang.String[] getRestrictionNames()
getRestrictionNames in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry@Nullable public @Nullable Value getRestriction(@NotNull @NotNull java.lang.String restrictionName) throws RepositoryException
getRestriction in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntryRepositoryException@Nullable public @Nullable Value[] getRestrictions(@NotNull @NotNull java.lang.String restrictionName)
getRestrictions in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntrypublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2012–2022 The Apache Software Foundation. All rights reserved.