public abstract class AbstractAccessControlList extends Object implements org.apache.jackrabbit.api.security.JackrabbitAccessControlList
JackrabbitAccessControlList
interface.| Constructor and Description |
|---|
AbstractAccessControlList(@Nullable String oakPath,
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAccessControlEntry(Principal principal,
Privilege[] privileges) |
boolean |
addEntry(@NotNull Principal principal,
@NotNull Privilege[] privileges,
boolean isAllow) |
boolean |
addEntry(@NotNull Principal principal,
@NotNull Privilege[] privileges,
boolean isAllow,
@Nullable Map<String,Value> restrictions) |
AccessControlEntry[] |
getAccessControlEntries() |
abstract @NotNull List<? extends org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry> |
getEntries() |
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper |
getNamePathMapper() |
@Nullable String |
getOakPath() |
@Nullable String |
getPath() |
@NotNull String[] |
getRestrictionNames() |
abstract @NotNull RestrictionProvider |
getRestrictionProvider() |
int |
getRestrictionType(@NotNull String restrictionName) |
boolean |
isEmpty() |
boolean |
isMultiValueRestriction(@NotNull String restrictionName) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEntry, orderBeforeremoveAccessControlEntrypublic AbstractAccessControlList(@Nullable
@Nullable String oakPath,
@NotNull
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
@Nullable public @Nullable String getOakPath()
@NotNull public @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper getNamePathMapper()
@NotNull public abstract @NotNull List<? extends org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry> getEntries()
@NotNull public abstract @NotNull RestrictionProvider getRestrictionProvider()
@Nullable public @Nullable String getPath()
getPath in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlPolicypublic AccessControlEntry[] getAccessControlEntries()
getAccessControlEntries in interface AccessControlListpublic boolean addAccessControlEntry(Principal principal, Privilege[] privileges) throws RepositoryException
addAccessControlEntry in interface AccessControlListRepositoryExceptionpublic boolean isEmpty()
isEmpty in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlListpublic int size()
size in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlList@NotNull public @NotNull String[] getRestrictionNames()
getRestrictionNames in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlListpublic int getRestrictionType(@NotNull
@NotNull String restrictionName)
getRestrictionType in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlListpublic boolean isMultiValueRestriction(@NotNull
@NotNull String restrictionName)
isMultiValueRestriction in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlListpublic boolean addEntry(@NotNull
@NotNull Principal principal,
@NotNull
@NotNull Privilege[] privileges,
boolean isAllow)
throws RepositoryException
addEntry in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlListRepositoryExceptionpublic boolean addEntry(@NotNull
@NotNull Principal principal,
@NotNull
@NotNull Privilege[] privileges,
boolean isAllow,
@Nullable
@Nullable Map<String,Value> restrictions)
throws RepositoryException
addEntry in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlListRepositoryExceptionCopyright © 2012–2020 The Apache Software Foundation. All rights reserved.