|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResourceAcl
An IResourceAcl is a wrapper for an IAcl which uses an URI as object ID for the IAcl and the user in resource context as 'callers' in the IAcl methods - IResourceAcls are assigned to resources - IResourceAcls hold IResourceAclEntries Abbreviations ACL Access Control List ACE Access Control List Entry
| Method Summary | |
|---|---|
boolean |
addEntry(IResourceAclEntry aclEntry)
add an ACE to the ACL |
boolean |
addOwner(com.sap.security.api.IPrincipal owner)
add a new owner to the ACL (only owners are allowed to change the ACL) |
boolean |
addOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
Deprecated. As of NetWeaver 7.1, replaced by addOwner(com.sap.security.api.IPrincipal) |
boolean |
checkPermission(com.sap.security.api.IPrincipal principal,
IAclPermission permission)
check whether the ACL grants a specific permission to a user |
boolean |
checkPermission(com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
IAclPermission permission)
Deprecated. As of NetWeaver 7.1, replaced by checkPermission(com.sap.security.api.IPrincipal,IAclPermission) |
IResourceAclEntryList |
getEntries()
get a list of the ACEs of the ACL |
IResourceAclEntryList |
getEntries(com.sap.security.api.IPrincipal principal)
get a list of the ACEs of the ACL concerning a specific principal |
IResourceAclEntryList |
getEntries(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
Deprecated. As of NetWeaver 7.1, replaced by getEntries(com.sap.security.api.IPrincipal) |
com.sapportals.portal.security.usermanagement.IUMPrincipal |
getLockingUser()
Deprecated. As of NetWeaver 7.1, replaced by getLockingUserUME() |
com.sap.security.api.IPrincipal |
getLockingUserUME()
get the user which locked the ACL |
IUMPrincipalList |
getOwners()
Deprecated. As of NetWeaver 7.1, replaced by getOwnersUME() |
List |
getOwnersUME()
get a list of the owners of the ACL |
IResource |
getResource()
get the resource the ACL is assigned to |
boolean |
isAuthorized(com.sap.security.api.IPrincipal principal)
check whether a principal is authorized to change 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 |
isLocked()
check whether the ACL is locked |
boolean |
isOwner(com.sap.security.api.IPrincipal principal)
check whether a principal is an owner 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 |
isReadOnly()
check whether the ACL is read only |
boolean |
isUpToDate()
check whether the ACL is up to date (check change level of persisted ACL) (used to invalidate ACL caches) |
boolean |
lock()
lock the ACL (the lock is cooperative and affects only the result of subsequent calls to lock() or isLocked()) |
boolean |
removeEntry(IResourceAclEntry aclEntry)
remove an ACE from the ACL |
boolean |
removeOwner(com.sap.security.api.IPrincipal owner)
remove an owner from the ACL (only owners are allowed to change the ACL) |
boolean |
removeOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
Deprecated. As of NetWeaver 7.1, replaced by removeOwner(com.sap.security.api.IPrincipal) |
void |
unlock()
unlock the ACL |
| Method Detail |
|---|
boolean addOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
throws AclPersistenceException,
NotAuthorizedException,
ResourceException
addOwner(com.sap.security.api.IPrincipal)
owner - the new owner
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
NotAuthorizedException - the user in the resource context is not
an owner of the ACL (only owners are allowed to change the owner list)
ResourceException - Exception raised in failure situation
boolean addOwner(com.sap.security.api.IPrincipal owner)
throws AclPersistenceException,
NotAuthorizedException,
ResourceException
owner - the new owner
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
NotAuthorizedException - the user in the resource context is not
an owner of the ACL (only owners are allowed to change the owner list)
ResourceException - Exception raised in failure situation
boolean removeOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
throws AclPersistenceException,
NotAuthorizedException,
LastOwnerException,
ResourceException
removeOwner(com.sap.security.api.IPrincipal)
owner - the owner to be removed
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
NotAuthorizedException - the user in the resource context is not
an owner of the ACL (only owners are allowed to change the owner list)
LastOwnerException - attempt to remove the last owner (which is
forbidden)
ResourceException - Exception raised in failure situation
boolean removeOwner(com.sap.security.api.IPrincipal owner)
throws AclPersistenceException,
NotAuthorizedException,
LastOwnerException,
ResourceException
owner - the owner to be removed
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
NotAuthorizedException - the user in the resource context is not
an owner of the ACL (only owners are allowed to change the owner list)
LastOwnerException - attempt to remove the last owner (which is
forbidden)
ResourceException - Exception raised in failure situation
boolean isOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
throws AclPersistenceException
isOwner(com.sap.security.api.IPrincipal)
principal - the principal
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
boolean isOwner(com.sap.security.api.IPrincipal principal)
throws AclPersistenceException
principal - the principal
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
boolean isAuthorized(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
throws AclPersistenceException
isAuthorized(com.sap.security.api.IPrincipal)
principal - the principal
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
boolean isAuthorized(com.sap.security.api.IPrincipal principal)
throws AclPersistenceException
principal - the principal
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
IUMPrincipalList getOwners()
throws AclPersistenceException
getOwnersUME()
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
List getOwnersUME()
throws AclPersistenceException
java.util.List containing objects of type com.sap.security.api.IPrincipal
representing the owners of the ACL
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
boolean addEntry(IResourceAclEntry aclEntry)
throws AclPersistenceException,
InvalidClassException,
NotAuthorizedException,
AlreadyAssignedToAclException,
PermissionNotSupportedException,
ResourceException
aclEntry - the ACE
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
InvalidClassException - the ACE was created by a foreign
IResourceAclManager
NotAuthorizedException - the user in the resource context is not
an owner of the ACL
AlreadyAssignedToAclException - the ACE is already assigned to
another ACL
PermissionNotSupportedException - the permission of the ACE is not
supported for the object type of the ACL's resource
ResourceException - Exception raised in failure situation
boolean removeEntry(IResourceAclEntry aclEntry)
throws AclPersistenceException,
InvalidClassException,
NotAuthorizedException,
ResourceException
aclEntry - the ACE
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
InvalidClassException - the ACE was created by a foreign
IResourceAclManager
NotAuthorizedException - the user in the resource context is not
an owner of the ACL
ResourceException - Exception raised in failure situation
IResourceAclEntryList getEntries()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
IResourceAclEntryList getEntries(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
throws AclPersistenceException
getEntries(com.sap.security.api.IPrincipal)
principal - the principal
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
IResourceAclEntryList getEntries(com.sap.security.api.IPrincipal principal)
throws AclPersistenceException
principal - the principal
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
boolean checkPermission(com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
IAclPermission permission)
throws AclPersistenceException
checkPermission(com.sap.security.api.IPrincipal,IAclPermission)
permission - the permissionprincipal - TBD: Description of the incoming method parameter
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
boolean checkPermission(com.sap.security.api.IPrincipal principal,
IAclPermission permission)
throws AclPersistenceException
permission - the permissionprincipal - TBD: Description of the incoming method parameter
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
boolean isReadOnly()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
IResource getResource()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
boolean lock()
throws AclPersistenceException,
NotAuthorizedException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
NotAuthorizedException - the user in the resource context is not
an owner of the ACL
boolean isLocked()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
com.sapportals.portal.security.usermanagement.IUMPrincipal getLockingUser()
throws AclPersistenceException
getLockingUserUME()
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
com.sap.security.api.IPrincipal getLockingUserUME()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
void unlock()
throws AclPersistenceException,
NotAuthorizedException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
NotAuthorizedException - the user in the resource context is not
the user which locked the ACL
boolean isUpToDate()
throws AclPersistenceException
AclPersistenceException - Exception raised in failure situation| 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
|
|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||