public interface SecurityStrategy
Allowed access operations: read, change, create, remove. AccessManager operations.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAttributeOperationAllowed(java.lang.Class<?> attrObjectClass,
java.lang.String attrQualifier,
java.lang.String attrOperation)
Method checks whether current session user has permission to work with specified attribute for the specified
access operation.
|
boolean |
isDtoOperationAllowed(java.lang.Class<?> objectClass,
java.lang.String operation)
Method checks whether current session user has permission to work with current processed dto for the specified
access operation.
|
boolean |
isResourceCommandAllowed(RestResource resource,
java.lang.String command)
Method checks whether current session user has permission to execute specified command on current resource.
|
boolean |
isResourceOperationAllowed(RestResource resource,
java.lang.String operation)
Method checks whether current session user has permission to work with current resource for the specified access
operation.
|
boolean isResourceOperationAllowed(RestResource resource, java.lang.String operation)
resource - The requested resource which will be checked.operation - The read, change, create or remove access operations.boolean isResourceCommandAllowed(RestResource resource, java.lang.String command)
resource - The requested resource which will be checked.command - The command which will be checked.boolean isDtoOperationAllowed(java.lang.Class<?> objectClass,
java.lang.String operation)
objectClass - The dto class which will be checked.operation - The read, change, create or remove access operations.boolean isAttributeOperationAllowed(java.lang.Class<?> attrObjectClass,
java.lang.String attrQualifier,
java.lang.String attrOperation)
attrObjectClass - The dto class that contains the attribute which will be checked.attrQualifier - The attribute which will be checked.attrOperation - The read or change operations.Copyright © 2018 SAP SE. All Rights Reserved.