|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAcl
An IAcl is a Access Control List which defines the access
permissions to an object.
Abbreviations:
| Method Summary | |
|---|---|
boolean |
addEntry(IPrincipal caller,
IAclEntry aclEntry)
add an ACE to the ACL |
boolean |
addEntry(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
IAclEntry aclEntry)
Deprecated. As of NetWeaver 7.1, replaced by addEntry(com.sap.security.api.IPrincipal,IAclEntry) |
boolean |
checkPermission(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) |
List |
getDescendantsWithAcl(String postFix)
get a list of all IDs of the descendants of the ACL that have an ACL too |
IAclEntryList |
getEntries()
get the ACEs of the ACL |
IAclEntryList |
getEntries(IPrincipal principal)
get the ACEs of the ACL concerning a specific principal |
IAclEntryList |
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() |
IPrincipal |
getLockingUserUME()
get the user which locked the ACL |
boolean |
hasDescendantsWithAcl(String postFix)
check whether the ACl has descendants that have an ACL too |
boolean |
isLocked()
check whether the ACL is locked |
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(IPrincipal caller)
lock the ACL (the lock is cooperative and affects only the result of subsequent calls to lock() or isLocked()) |
boolean |
lock(com.sapportals.portal.security.usermanagement.IUMPrincipal caller)
Deprecated. As of NetWeaver 7.1, replaced by lock(com.sap.security.api.IPrincipal) |
boolean |
removeEntry(IPrincipal caller,
IAclEntry aclEntry)
remove an ACE from the ACL |
boolean |
removeEntry(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
IAclEntry aclEntry)
Deprecated. As of NetWeaver 7.1, replaced by removeEntry(com.sap.security.api.IPrincipal,IAclEntry) |
void |
unlock(IPrincipal caller)
unlock the ACL |
void |
unlock(com.sapportals.portal.security.usermanagement.IUMPrincipal caller)
Deprecated. As of NetWeaver 7.1, replaced by unlock(com.sap.security.api.IPrincipal) |
| Methods inherited from interface com.sapportals.wcm.util.acl.IOwner |
|---|
addOwner, addOwner, getOwners, getOwnersUME, isAuthorized, isAuthorized, isOwner, isOwner, removeOwner, removeOwner |
| Method Detail |
|---|
boolean addEntry(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
IAclEntry aclEntry)
throws AclPersistenceException,
InvalidClassException,
NotAuthorizedException,
AlreadyAssignedToAclException,
PermissionNotSupportedException
addEntry(com.sap.security.api.IPrincipal,IAclEntry)
caller - a principal which must be an owner of the ACLaclEntry - the ACE
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
InvalidClassException - the ACE was created by a foreign resource
acl manager
NotAuthorizedException - the caller in not an owner
AlreadyAssignedToAclException - the ACE is already assigned to an
ACL
PermissionNotSupportedException - the permission of the ACE is not
supported for the type of the ACL's object
boolean addEntry(IPrincipal caller,
IAclEntry aclEntry)
throws AclPersistenceException,
InvalidClassException,
NotAuthorizedException,
AlreadyAssignedToAclException,
PermissionNotSupportedException
caller - a principal which must be an owner of the ACLaclEntry - the ACE
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
InvalidClassException - the ACE was created by a foreign resource
acl manager
NotAuthorizedException - the caller in not an owner
AlreadyAssignedToAclException - the ACE is already assigned to an
ACL
PermissionNotSupportedException - the permission of the ACE is not
supported for the type of the ACL's object
boolean removeEntry(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
IAclEntry aclEntry)
throws AclPersistenceException,
InvalidClassException,
NotAuthorizedException
removeEntry(com.sap.security.api.IPrincipal,IAclEntry)
caller - a principal which must be an owner of the ACLaclEntry - the ACE
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
InvalidClassException - the ACE was created by a foreign resource
acl manager
NotAuthorizedException - the caller in not an owner
boolean removeEntry(IPrincipal caller,
IAclEntry aclEntry)
throws AclPersistenceException,
InvalidClassException,
NotAuthorizedException
caller - a principal which must be an owner of the ACLaclEntry - the ACE
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
InvalidClassException - the ACE was created by a foreign resource
acl manager
NotAuthorizedException - the caller in not an owner
IAclEntryList getEntries()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
IAclEntryList 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
IAclEntryList getEntries(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(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 lock(com.sapportals.portal.security.usermanagement.IUMPrincipal caller)
throws AclPersistenceException,
NotAuthorizedException
lock(com.sap.security.api.IPrincipal)
caller - TBD: Description of the incoming method parameter
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
NotAuthorizedException - the caller is not an owner
boolean lock(IPrincipal caller)
throws AclPersistenceException,
NotAuthorizedException
caller - TBD: Description of the incoming method parameter
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
NotAuthorizedException - the caller is not an owner
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
IPrincipal getLockingUserUME()
throws AclPersistenceException
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
void unlock(com.sapportals.portal.security.usermanagement.IUMPrincipal caller)
throws AclPersistenceException,
NotAuthorizedException
unlock(com.sap.security.api.IPrincipal)
caller - TBD: Description of the incoming method parameter
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
NotAuthorizedException - the caller is not the user which locked
the ACL
void unlock(IPrincipal caller)
throws AclPersistenceException,
NotAuthorizedException
caller - TBD: Description of the incoming method parameter
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
NotAuthorizedException - the caller is not the user which locked
the ACL
boolean hasDescendantsWithAcl(String postFix)
throws AclPersistenceException
postFix - is appended to the ACL ID before the descendants are
identified as all ACLs whose IDs start with this ID
AclPersistenceException - a problem with the storage where the
ACLs are persisted occurred
List getDescendantsWithAcl(String postFix)
throws AclPersistenceException
postFix - is appended to the ACL ID before the descendants are
identified as all ACLs whose IDs start with this ID
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
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.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||