public class AccessManagerSecurityStrategy extends AbstractSecurityStrategy
| Constructor and Description |
|---|
AccessManagerSecurityStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAttributeOperationAllowed(java.lang.Class<?> objectClass,
java.lang.String attrQualifier,
java.lang.String operation)
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.
|
getComposedType, getModelService, getOperation, performDtoReadOperationAllowed, setModelServicepublic boolean isResourceOperationAllowed(RestResource resource, java.lang.String operation)
SecurityStrategyresource - The requested resource which will be checked.operation - The read, change, create or remove access operations.public boolean isDtoOperationAllowed(java.lang.Class<?> objectClass,
java.lang.String operation)
SecurityStrategyobjectClass - The dto class which will be checked.operation - The read, change, create or remove access operations.public boolean isAttributeOperationAllowed(java.lang.Class<?> objectClass,
java.lang.String attrQualifier,
java.lang.String operation)
SecurityStrategyobjectClass - The dto class that contains the attribute which will be checked.attrQualifier - The attribute which will be checked.operation - The read or change operations.public boolean isResourceCommandAllowed(RestResource resource, java.lang.String command)
SecurityStrategyresource - The requested resource which will be checked.command - The command which will be checked.Copyright © 2018 SAP SE. All Rights Reserved.