org.apache.jackrabbit.core.security.authorization
Interface JackrabbitAccessControlEntry

All Superinterfaces:
AccessControlEntry
All Known Implementing Classes:
AccessControlEntryImpl

public interface JackrabbitAccessControlEntry
extends AccessControlEntry

JackrabbitAccessControlEntry is a Jackrabbit specific extension of the AccessControlEntry interface. It represents an single entry of a JackrabbitAccessControlList.


Method Summary
 int getPrivilegeBits()
           
 Value getRestriction(String restrictionName)
          Return the value of the restriction with the specified name or null if no such restriction exists.
 String[] getRestrictionNames()
          Return the names of the restrictions present with this access control entry.
 boolean isAllow()
           
 
Methods inherited from interface org.apache.jackrabbit.api.jsr283.security.AccessControlEntry
getPrincipal, getPrivileges
 

Method Detail

isAllow

boolean isAllow()
Returns:
true if this entry adds Privileges for the principal; false otherwise.

getPrivilegeBits

int getPrivilegeBits()
Returns:
the int representation of the privileges defined for this entry.
See Also:
AccessControlEntry.getPrivileges()

getRestrictionNames

String[] getRestrictionNames()
Return the names of the restrictions present with this access control entry.

Returns:
the names of the restrictions

getRestriction

Value getRestriction(String restrictionName)
Return the value of the restriction with the specified name or null if no such restriction exists.

Parameters:
restrictionName -
Returns:
value of the restriction with the specified name or null if no such restriction exists


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