com.sap.security.api.acl
Interface IAclEntry


public interface IAclEntry

ACL Context Entry Interface

Definition of an Access Control List Entry

Access-Control Entry (ACE) is an element in the Access-Control List (ACL). An ACL can have zero or more ACEs. Each ACE controls or monitor access to an object specified trustee.

An entry specifies a principle (i.e. user) and a permission that is granted to the principle.

Version:
1.0

Method Summary
 java.lang.String getPermission()
          This method returns the permission object from current ACE object.
 IPrincipal getPrincipal()
          This methods returns the principal object from current ACE object.
 boolean isAllowed(java.lang.String permission)
          This methods checks if the permission is covered by the ACE's permission.
 boolean isInherited()
          This method checks if the ACE is inherited.
 

Method Detail

getPrincipal

public IPrincipal getPrincipal()
This methods returns the principal object from current ACE object.
Returns:
IPrincipal principal object.

getPermission

public java.lang.String getPermission()
This method returns the permission object from current ACE object.
Returns:
String permission

isAllowed

public boolean isAllowed(java.lang.String permission)
This methods checks if the permission is covered by the ACE's permission.
Parameters:
permission - the checked permission object.
Returns:
true when the permission is covered false otherwise

isInherited

public boolean isInherited()
This method checks if the ACE is inherited. If a ACE is inherited, then this ACE represents the ACE's of the parent object.
Returns:
true when the ACE is inherited false otherwise


Copyright © 2002 SAP AG All Rights Reserved.