|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface describing an access control list entry, short ACL entry. Each resource may have an ACL with many ACL entries. An entry describes for one principal (may be a user, group or whatever is considered an entity) a permission this principal has on the given resource. The ACL itself is just an envelope for many ACL entries.
An ACL entry may define a permission this principal has on the given resource, but it may also define a permission a principal is denied to have (so called negative ACL entry). ACLs are propagated down from above the resource hierarchy on the fly, i.e. they are not really set on the descendants but derived when accessed. All descendants not having an own ACL inherit one from their next legator having one. Legators are ancestors responsible for the security permissions of their descendants.
| Method Summary | |
boolean |
checkPermission(IAclPermission permission)
Check whether or not the given permission is covered by this ACL entry. |
IAclPermission |
getPermission()
Get permission of the ACL entry. |
com.sap.netweaver.bc.rf.common.security.acl.IPrincipal |
getPrincipal()
Get principal of the ACL entry. |
int |
getSortIndex()
get the sort index of the ACL entry - the sequence of the ACEs in the ACL is controlled by the sort indices - the sequence is only relevant if the IResourceAclManager supports negative ACEs (check with the areNegativeAclEntriesSupported() method) |
boolean |
isNegative()
Check whether or not this ACL entry denies its permission. |
boolean |
isReadOnly()
Check wether or not the ACL entry is read only. |
void |
setSortIndex(int sortIndex)
set the sort index of the ACL entry |
| Method Detail |
public com.sap.netweaver.bc.rf.common.security.acl.IPrincipal getPrincipal()
throws AclPersistenceException
AclPersistenceException - when a problem with the storage where
the ACLs are persisted occurred
public boolean checkPermission(IAclPermission permission)
throws AclPersistenceException
permission - permission to be checkedAclPersistenceException - when a problem with the storage where
the ACLs are persisted occurred
public IAclPermission getPermission()
throws AclPersistenceException
AclPersistenceException - when a problem with the storage where
the ACLs are persisted occurred
public int getSortIndex()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public void setSortIndex(int sortIndex)
throws AclPersistenceException,
AclNotAuthorizedException
sortIndex - sort indexAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredAclNotAuthorizedException - Exception raised in failure situation
public boolean isNegative()
throws AclPersistenceException
AclPersistenceException - when a problem with the storage where
the ACLs are persisted occurred
public boolean isReadOnly()
throws AclPersistenceException
AclPersistenceException - when a problem with the storage where
the ACLs are persisted occurred
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||