|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An IAclEntry is an entry in an IAcl which grants or
denies a permission to a specific principal.
Abbreviations:
| 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 |
boolean |
isNegative()
check whether the ACE denies its permission |
boolean |
isPropagated()
get the propagation flag of the ACE - propagation is no task of the basic acl package - only the flag is persisted |
boolean |
isReadOnly()
check wether the ACE is read only |
void |
setPropagation(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
boolean propagate)
set the propagation flag of the ACE - propagation is no task of the basic acl package - only the flag is persisted |
void |
setSortIndex(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
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
permission - the permissionAclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
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 int getSortIndex()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public void setSortIndex(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
int sortIndex)
throws AclPersistenceException,
NotAuthorizedException
caller - the caller which must be an owner of the ACL the ACE is
assigned to (may be null in case it is not assigned yet)sortIndex - the new sort indexAclPersistenceException - 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
public boolean isPropagated()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public void setPropagation(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
boolean propagate)
throws AclPersistenceException,
NotAuthorizedException
caller - the caller which must be an owner of the ACL the ACE is
assigned to (may be null in case it is not assigned yet)propagate - the propagation flagAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredNotAuthorizedException - Exception raised in failure situation
public boolean isReadOnly()
throws AclPersistenceException
AclPersistenceException - 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 | |||||||||