public class AuthorizationServiceImpl extends ServiceDelegator implements AuthorizationService
DEFAULT_NAME, EVENT_ACTION_ACCESS, EVENT_CALC_WHERE_CONDITION, EVENT_ENTITY_ACCESS, EVENT_FUNCTION_ACCESS, EVENT_SERVICE_ACCESS| Constructor and Description |
|---|
AuthorizationServiceImpl(String name) |
| Modifier and Type | Method and Description |
|---|---|
com.sap.cds.ql.cqn.CqnPredicate |
calcWhereCondition(String entityName,
String event) |
boolean |
hasActionAccess(String entityName,
String actionName) |
boolean |
hasEntityAccess(String entityName,
String event) |
boolean |
hasEntityAccess(String entityName,
String event,
com.sap.cds.ql.cqn.CqnStatement query) |
boolean |
hasFunctionAccess(String entityName,
String functionName) |
boolean |
hasServiceAccess(String serviceName,
String event) |
after, after, before, before, emit, getDelegatedService, getName, on, onpublic AuthorizationServiceImpl(String name)
public boolean hasServiceAccess(String serviceName, String event)
hasServiceAccess in interface AuthorizationServicepublic boolean hasEntityAccess(String entityName, String event)
hasEntityAccess in interface AuthorizationServicepublic boolean hasEntityAccess(String entityName, String event, com.sap.cds.ql.cqn.CqnStatement query)
hasEntityAccess in interface AuthorizationServicepublic boolean hasFunctionAccess(String entityName, String functionName)
hasFunctionAccess in interface AuthorizationServicepublic boolean hasActionAccess(String entityName, String actionName)
hasActionAccess in interface AuthorizationServicepublic com.sap.cds.ql.cqn.CqnPredicate calcWhereCondition(String entityName, String event)
calcWhereCondition in interface AuthorizationServiceCopyright © 2022. All rights reserved.