Package javax.jcr.security
Interface AccessControlEntry
-
- All Known Subinterfaces:
JackrabbitAccessControlEntry
,PrincipalAccessControlList.Entry
- All Known Implementing Classes:
ACE
public interface AccessControlEntry
AnAccessControlEntry
represents the association of one or morePrivilege
objects with a specificPrincipal
.- Since:
- JCR 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.Principal
getPrincipal()
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
Privilege
s.
-
-