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.


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

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

Returns:
IPrincipal principal object.

getPermission

String getPermission()
This method returns the permission object from current ACE object.

Returns:
String permission

isAllowed

boolean isAllowed(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

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
Access Rights

This class can be accessed from:


SC DC
[sap.com] ENGINEAPI [sap.com] com.sap.security.api.sda
[sap.com] ENGFACADE [sap.com] tc/je/usermanagement/api
[sap.com] CORE-TOOLS [sap.com] com.sap.engine.client.lib


Copyright 2010 SAP AG Complete Copyright Notice