javax.jcr.security
Interface AccessControlEntry


public interface AccessControlEntry

An AccessControlEntry represents the association of one or more Privilege objects with a specific Principal.

Since:
JCR 2.0

Method Summary
 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 Privileges.