org.apache.jackrabbit.api.jsr283.security
Interface AccessControlEntry

All Known Subinterfaces:
JackrabbitAccessControlEntry
All Known Implementing Classes:
AccessControlEntryImpl

public interface AccessControlEntry

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

Since:
JCR 2.0

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

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.


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.