Interface PrincipalAccessControlList.Entry
-
- All Superinterfaces:
AccessControlEntry
,JackrabbitAccessControlEntry
- Enclosing interface:
- PrincipalAccessControlList
public static interface PrincipalAccessControlList.Entry extends JackrabbitAccessControlEntry
Extension of theJackrabbitAccessControlEntry
that additionally defines the target object where this entry will take effect. Due to the fact that the enclosing policy is itself bound to a principal callingAccessControlEntry.getPrincipal()
is equivalent toPrincipalAccessControlList.getPrincipal()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable String
getEffectivePath()
Returns the path of target object where this entry will take effect.-
Methods inherited from interface javax.jcr.security.AccessControlEntry
getPrincipal, getPrivileges
-
Methods inherited from interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry
getPrivilegeCollection, getRestriction, getRestrictionNames, getRestrictions, isAllow
-
-
-
-
Method Detail
-
getEffectivePath
@Nullable @Nullable String getEffectivePath()
Returns the path of target object where this entry will take effect. IfeffectivePath
is an absolute path then the specified object is aNode
. If it isnull
the object is the repository as a whole and the privileges in question are those that are not associated with any particular node.- Returns:
- The effective absolute path of this entry or
null
.
-
-