|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAcl
Access control lists are used to model permissions in the Pcd GL.
An ACL has an owner, and zero or more ACL Entries (IAclEntry). Each
entry contains a permission and the principal for whom the permission is
granted.
This interface is not intended to be implemented by clients.
| Method Summary | |
|---|---|
boolean |
addOwner(Object caller,
Object principal)
Adds a new ACL owner to current ACL. |
void |
commit()
Deprecated. do not use this method. Changes do not need to be commited. |
IAclEntry |
createAclEntry(Object caller,
Object principal,
String permission)
Creates a new ACE and appends it to the ACL. |
List |
getOwners()
Returns a list of ACL owners. |
boolean |
isOwner(Object principal)
Checks if a user (principal) is an ACL owner. |
IAcl |
prepare()
Deprecated. not needed. |
boolean |
removeAclEntry(Object caller,
IAclEntry aclEntry)
Removes an existing ACE object from current ACL object. |
boolean |
removeOwner(Object caller,
Object principal)
Removes an ACL owner from current ACL. |
void |
resetAcl(Object caller)
Removes all existing ACE objects from the current ACL object, but does not delete the ACL Owner (com.sap.security.api.IPrincipal). |
| Methods inherited from interface com.sapportals.portal.pcd.gl.IPermissionCheckAcl |
|---|
getAclEntries, getAclEntries, getObjectId, isAllowed |
| Method Detail |
|---|
boolean addOwner(Object caller,
Object principal)
throws PermissionControlException
caller - current ACL owner (com.sap.security.api.IPrincipal).principal - new ACL owner (principal, for example user)
(com.sap.security.api.IPrincipal).
PermissionControlException
boolean removeOwner(Object caller,
Object principal)
throws PermissionControlException
caller - a current ACL owner (com.sap.security.api.IPrincipal).principal - new ACL owner (principal, for example user)
(com.sap.security.api.IPrincipal)
PermissionControlExceptionboolean isOwner(Object principal)
principal - the checked user (principal)
(com.sap.security.api.IPrincipal).
List getOwners()
getOwners in interface IPermissionCheckAcl
IAclEntry createAclEntry(Object caller,
Object principal,
String permission)
throws PermissionControlException
caller - a current ACL owner (
com.sap.security.api.IPrincipal).principal - principal for ACE (
com.sap.security.api.IPrincipal)permission - permission for the ACE
IAclEntry) or null if it is not
possible to create an ACE
PermissionControlException
boolean removeAclEntry(Object caller,
IAclEntry aclEntry)
throws PermissionControlException
caller - an ACL owner (com.sap.security.api.IPrincipal)aclEntry - An ACE
PermissionControlException
void resetAcl(Object caller)
throws PermissionControlException
caller - an ACL owner
PermissionControlExceptionIAcl prepare()
void commit()
throws Exception
Exception - if the data can't be commited to the storage| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
-
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS
|
[sap.com]
|
api
|
BC-PIN-PCD
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||