public interface IAclEntry
IAclEntry is an entry in an IAcl which grants or
denies a permission to a specific principal. | Modifier and Type | Method and Description |
|---|---|
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()
Deprecated.
As of NetWeaver 7.1, replaced by
getPrincipalUME() |
IPrincipal |
getPrincipalUME()
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(IPrincipal 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 |
setPropagation(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
boolean propagate)
Deprecated.
As of NetWeaver 7.1, replaced by
setPropagation(com.sap.security.api.IPrincipal,boolean) |
void |
setSortIndex(IPrincipal caller,
int sortIndex)
set the sort index of the ACE
|
void |
setSortIndex(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
int sortIndex)
Deprecated.
As of NetWeaver 7.1, replaced by
setSortIndex(com.sap.security.api.IPrincipal,int) |
IAclPermission getPermission() throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurredboolean checkPermission(IAclPermission permission) throws AclPersistenceException
permission - the permissionAclPersistenceException - a problem with the storage where the
ACLs are persisted occurredboolean isNegative()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurredcom.sapportals.portal.security.usermanagement.IUMPrincipal getPrincipal()
throws AclPersistenceException
getPrincipalUME()AclPersistenceException - a problem with the storage where the
ACLs are persisted occurredIPrincipal getPrincipalUME() throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurredint getSortIndex()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurredvoid setSortIndex(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
int sortIndex)
throws AclPersistenceException,
NotAuthorizedException
setSortIndex(com.sap.security.api.IPrincipal,int)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 ACLvoid setSortIndex(IPrincipal 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 ACLboolean isPropagated()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurredvoid setPropagation(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
boolean propagate)
throws AclPersistenceException,
NotAuthorizedException
setPropagation(com.sap.security.api.IPrincipal,boolean)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 situationvoid setPropagation(IPrincipal 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 situationboolean isReadOnly()
throws AclPersistenceException
AclPersistenceException - 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