|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISecurityManager
Read-Only interface describing a repository sub manager for security. This interface allows for security checks on resources based on generic permissions and UME principals. The predefined set of permissions can be extened by the implementation.
| Method Summary | |
|---|---|
List |
getSupportedPermissions(IResourceHandle resourceHandle)
Get list of permissions which are supported by the security manager for the given resource handle, e.g. outcome depends on whether the resource is a collection or not. |
boolean |
isAllowed(IResourceHandle resourceHandle,
com.sap.security.api.IPrincipal principal,
IPermission permission)
Checks whether the given principal has the given permission on the given resource handle. |
boolean |
isAllowed(IResourceHandle resourceHandle,
com.sap.security.api.IPrincipal principal,
List permissions)
Checks whether the given principal has all of the given permissions on the given resource handle. |
Set |
isAllowed(List ridList,
com.sap.security.api.IPrincipal principal,
IPermission permission)
Checks whether the given principal has the given permission on the given resource identifiers. |
Set |
isAllowed(List ridList,
com.sap.security.api.IPrincipal principal,
List permissions)
Checks whether the given principal has all of the given permissions on the given resource identifiers. |
| Method Detail |
|---|
List getSupportedPermissions(IResourceHandle resourceHandle)
throws ResourceException
resourceHandle - resource handle. May be null - all supported permissions are returned in this case.
IPermission - can be empty but not null.
ResourceException - when the resource handle is invalid
boolean isAllowed(IResourceHandle resourceHandle,
com.sap.security.api.IPrincipal principal,
IPermission permission)
throws ResourceException
resourceHandle - resource handleprincipal - principal for whom the permissions are checkedpermission - single permission to check
ResourceException - when wrong parameterized
boolean isAllowed(IResourceHandle resourceHandle,
com.sap.security.api.IPrincipal principal,
List permissions)
throws ResourceException
resourceHandle - resource handleprincipal - principal for whom the permissions are checkedpermissions - list of permissions to check
ResourceException - when wrong parameterized
Set isAllowed(List ridList,
com.sap.security.api.IPrincipal principal,
IPermission permission)
throws ResourceException,
OperationNotCompletedException
ridList - list of resource identifiersprincipal - principal for whom the permissions are checkedpermission - single permission to check
ResourceException - when wrong parameterized
OperationNotCompletedException - when the operation failed in
parts
Set isAllowed(List ridList,
com.sap.security.api.IPrincipal principal,
List permissions)
throws ResourceException,
OperationNotCompletedException
ridList - list of resource identifiersprincipal - principal for whom the permissions are checkedpermissions - list of permissions to check
ResourceException - when wrong parameterized
OperationNotCompletedException - when the operation failed in
parts| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||