|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Read-And-Write interface describing a repository sub manager for security. This interface allows for simple setting and removing of permissions on resources, but doesn't offer any sophisticated operations, denies or orderings, because security APIs are usually very much specialized and can't be defined in an general interface for a repository sub manager. Specifically denies would be way to sophisticated including all the problems of read access and ordering. A more complex abstraction of security settings including denies and other features would impose too much of a requirement for repositories. Not all repositories might be able to support such a complex API even in parts.
| Method Summary | |
void |
grant(IResourceHandle resourceHandle,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
IPermission permission)
Set permission for the given principal on the given resource handle. |
void |
grant(IResourceHandle resourceHandle,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
java.util.List permissions)
Set list of permissions for the given principal on the given resource handle. |
void |
grant(java.util.List ridList,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
IPermission permission)
Set permission for the given principal on the given resource identifiers. |
void |
grant(java.util.List ridList,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
java.util.List permissions)
Set list of permissions for the given principal on the given resource identifiers. |
void |
revoke(IResourceHandle resourceHandle,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
IPermission permission)
Remove permission for the given principal on the given resource handle. |
void |
revoke(IResourceHandle resourceHandle,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
java.util.List permissions)
Remove list of permissions for the given principal on the given resource handle. |
void |
revoke(java.util.List ridList,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
IPermission permission)
Remove permission for the given principal on the given resource identifiers. |
void |
revoke(java.util.List ridList,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
java.util.List permissions)
Remove list of permissions for the given principal on the given resource identifiers. |
| Methods inherited from interface com.sap.netweaver.bc.rf.mi.security.ISecurityManager |
getSupportedPermissions, isAllowed, isAllowed, isAllowed, isAllowed |
| Method Detail |
public void grant(IResourceHandle resourceHandle,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
IPermission permission)
throws ResourceException
resourceHandle - resource handleprincipal - principal for whom the permission should be setpermission - single permission to setResourceException - when wrong parameterized or setting the
permission failed
public void grant(IResourceHandle resourceHandle,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
java.util.List permissions)
throws ResourceException
resourceHandle - resource handleprincipal - principal for whom the permissions should be setpermissions - list of permissions to setResourceException - when wrong parameterized or setting the
permission failed
public void grant(java.util.List ridList,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
IPermission permission)
throws ResourceException,
OperationNotCompletedException
ridList - list of resource identifiersprincipal - principal for whom the permissions should be setpermission - single permission to setResourceException - when wrong parameterizedOperationNotCompletedException - when the operation failed in
parts
public void grant(java.util.List ridList,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
java.util.List permissions)
throws ResourceException,
OperationNotCompletedException
ridList - list of resource identifiersprincipal - principal for whom the permissions should be setpermissions - list of permissions to setResourceException - when wrong parameterizedOperationNotCompletedException - when the operation failed in
parts
public void revoke(IResourceHandle resourceHandle,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
IPermission permission)
throws ResourceException
resourceHandle - resource handleprincipal - principal for whom the permission should be removedpermission - single permission to removeResourceException - when wrong parameterized or removing the
permission failed
public void revoke(IResourceHandle resourceHandle,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
java.util.List permissions)
throws ResourceException
resourceHandle - resource handleprincipal - principal for whom the permissions should be removedpermissions - list of permissions to removeResourceException - when wrong parameterized or removing the
permission failed
public void revoke(java.util.List ridList,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
IPermission permission)
throws ResourceException,
OperationNotCompletedException
ridList - list of resource identifiersprincipal - principal for whom the permissions should be removedpermission - single permission to removeResourceException - when wrong parameterizedOperationNotCompletedException - when the operation failed in
parts
public void revoke(java.util.List ridList,
com.sap.netweaver.bc.rf.mi.security.IPrincipal principal,
java.util.List permissions)
throws ResourceException,
OperationNotCompletedException
ridList - list of resource identifiersprincipal - principal for whom the permissions should be removedpermissions - list of permissions to removeResourceException - when wrong parameterizedOperationNotCompletedException - when the operation failed in
parts
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||