com.sapportals.portal.pcd.gl

Interface IAclEntry


public interface IAclEntry

ACL Entries (ACE's) are used as members of ACLs (IAcl).

An Access-Control Entry (ACE) specifies a principal and a permission.

This interface is not intended to be implemented by clients.


Method Summary
 String getPermission()
          Returns the permission of the ACE.
 Object getPrincipal()
          Returns the principal (com.sap.security.api.IPrincipal) of the current ACE object.
 boolean isAllowed(String permission)
          Checks if the permission contained in the ACE.
 

Method Detail

getPrincipal

Object getPrincipal()
Returns the principal (com.sap.security.api.IPrincipal) of the current ACE object.

Returns:
principal object

getPermission

String getPermission()
Returns the permission of the ACE.

Returns:
permission string

isAllowed

boolean isAllowed(String permission)
Checks if the permission contained in the ACE.

Parameters:
permission - the checked permission string
Returns:
true if the permission is contained, otherwise false
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api api EP-PIN
[sap.com] EP-BASIS [sap.com] tc/epbc/pcd/pars/srvgldeprecated api BC-PIN-PCD
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api - EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice