|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An IResourceAclEntry is a wrapper for an IAclEntry which passes the user in the resource context of the belonging IResourceAcl as 'callers' to IAclEntry methods Abbreviations ACL Access Control List ACE Access Control List Entry
| Method Summary | |
boolean |
checkPermission(IAclPermission permission)
check whether some permission is covered by the permission of the ACE |
IAclPermission |
getPermission()
get the permission of the ACE |
com.sapportals.portal.security.usermanagement.IUMPrincipal |
getPrincipal()
get the principal of the ACE |
int |
getSortIndex()
get the sort index of the ACE - 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 the ACE denies its permission |
boolean |
isReadOnly()
check wether the ACE is read only |
void |
setSortIndex(int sortIndex)
set the sort index of the ACE |
| Method Detail |
public IAclPermission getPermission()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public boolean checkPermission(IAclPermission permission)
throws AclPersistenceException,
InvalidClassException
permission - the permissionAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredInvalidClassException - the permission was created by a foreign
resource IResourceAclManager
public boolean isNegative()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public com.sapportals.portal.security.usermanagement.IUMPrincipal getPrincipal()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public boolean isReadOnly()
throws AclPersistenceException
AclPersistenceException - 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,
NotAuthorizedException
sortIndex - sortIndex to be setAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredNotAuthorizedException - the user in the resource context of the
belonging ACL is not an owner of the ACL
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||