public interface IOwner
IOwner holds a list of principals that are the owners of an
ACL. | Modifier and Type | Method and Description |
|---|---|
boolean |
addOwner(IPrincipal caller,
IPrincipal principal)
add a new owner to the list
|
boolean |
addOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
Deprecated.
As of NetWeaver 7.1, replaced by
addOwner(com.sap.security.api.IPrincipal,com.sap.security.api.IPrincipal) |
IUMPrincipalList |
getOwners()
Deprecated.
As of NetWeaver 7.1, replaced by
getOwnersUME() |
List |
getOwnersUME()
get a list of the owners of the ACL
|
boolean |
isAuthorized(IPrincipal principal)
check whether a principal is an owner or a member of some owner group/role
of the ACL
|
boolean |
isAuthorized(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
Deprecated.
As of NetWeaver 7.1, replaced by
isAuthorized(com.sap.security.api.IPrincipal) |
boolean |
isOwner(IPrincipal principal)
check whether a principal is part of the owner list of the ACL
|
boolean |
isOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
Deprecated.
As of NetWeaver 7.1, replaced by
isOwner(com.sap.security.api.IPrincipal) |
boolean |
removeOwner(IPrincipal caller,
IPrincipal owner)
remove an owner from the list
|
boolean |
removeOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
Deprecated.
As of NetWeaver 7.1, replaced by
removeOwner(com.sap.security.api.IPrincipal,com.sap.security.api.IPrincipal) |
boolean addOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
throws AclPersistenceException,
NotAuthorizedException
addOwner(com.sap.security.api.IPrincipal,com.sap.security.api.IPrincipal)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 ownerboolean addOwner(IPrincipal caller, IPrincipal 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 ownerboolean removeOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
throws AclPersistenceException,
NotAuthorizedException,
LastOwnerException
removeOwner(com.sap.security.api.IPrincipal,com.sap.security.api.IPrincipal)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)boolean removeOwner(IPrincipal caller, IPrincipal 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)boolean isOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
throws AclPersistenceException
isOwner(com.sap.security.api.IPrincipal)principal - the principalAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredboolean isOwner(IPrincipal principal) throws AclPersistenceException
principal - the principalAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredboolean isAuthorized(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
throws AclPersistenceException
isAuthorized(com.sap.security.api.IPrincipal)principal - the principalAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredboolean isAuthorized(IPrincipal principal) throws AclPersistenceException
principal - the principalAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredIUMPrincipalList getOwners() throws AclPersistenceException
getOwnersUME()AclPersistenceException - a problem with the storage where the
ACLs are persisted occurredList getOwnersUME() throws AclPersistenceException
java.util.List containing objects of type com.sap.security.api.IPrincipal,
which represent an owner of the ACLAclPersistenceException - a problem with the storage where the
ACLs are persisted occurred| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice