|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An IOwner holds a list of principals that are the owners of an
ACL.
| Method Summary | |
boolean |
addOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
add a new owner to the list |
IUMPrincipalList |
getOwners()
get a list of the owners of the ACL |
boolean |
isAuthorized(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
check whether a principal is an owner or a member of some owner group/role of the ACL |
boolean |
isOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
check whether a principal is part of the owner list of the ACL |
boolean |
removeOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
remove an owner from the list |
| Method Detail |
public boolean addOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
throws AclPersistenceException,
NotAuthorizedException
caller - the caller must be an owner of the ACLprincipal - the new ownerAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredNotAuthorizedException - the caller is not an owner
public boolean removeOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
throws AclPersistenceException,
NotAuthorizedException,
LastOwnerException
caller - the caller must be an owner of the ACLowner - the ownerAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredNotAuthorizedException - the caller is not an ownerLastOwnerException - attempt to remove the last owner of the ACL
(which is forbidden)
public boolean isOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
throws AclPersistenceException
principal - the principalAclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public boolean isAuthorized(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
throws AclPersistenceException
principal - the principalAclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
public IUMPrincipalList getOwners()
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 | |||||||||