Package javax.jcr.security
Interface AccessControlEntry
-
- All Known Subinterfaces:
JackrabbitAccessControlEntry,PrincipalAccessControlList.Entry
- All Known Implementing Classes:
ACE
public interface AccessControlEntryAnAccessControlEntryrepresents the association of one or morePrivilegeobjects with a specificPrincipal.- Since:
- JCR 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.PrincipalgetPrincipal()Returns the principal associated with this access control entry.Privilege[]getPrivileges()Returns the privileges associated with this access control entry.
-
-
-
Method Detail
-
getPrincipal
java.security.Principal getPrincipal()
Returns the principal associated with this access control entry.- Returns:
- a
Principal.
-
getPrivileges
Privilege[] getPrivileges()
Returns the privileges associated with this access control entry.- Returns:
- an array of
Privileges.
-
-