@UESComponent public interface AuthorizationService
| Modifier and Type | Method and Description | 
|---|---|
UESResultList<AuthorizedRoleAttributes,AuthorizationServiceGetAuthorizedRoleList> | 
getAuthorizedRoleList(java.lang.String entityUri,
Returns authorized roles which can run a use case determined by the specified use case
 code on the specified entity and which are casted (directly or indirectly) by the specified 
 access role. 
 | 
UESResultList<PermissionAttributes,AuthorizationServiceGetPermissionList> | 
getPermissionList(java.lang.String entityUri,
List of permissions granted on the specified entity. 
 | 
boolean | 
isAuthorized(java.lang.String entityUri,
Determines whether is the currently logged user authorized to run an use case determined by the specified code. 
 | 
boolean | 
isAuthorized(java.lang.String entityUri,
Determines whether is the specified user authorized to run an use case determined by the specified code. 
 | 
entityUri - identifies entity for which permissions are obtainedcriteria - DTO containing criteria for listing permissionsAuthorizationServiceRTException - if permission list cannot be obtainedentityUri - entity used for authorizationuseCaseCode - use case codetrue the user is authorized; false otherwiseAuthorizationServiceRTException - if an exception occurred during authorization processentityUri - entity used for authorizationuseCaseCode - use case codeaccessRoleUri - specifies access role for which the authorization is evaluatedtrue the user is authorized; false otherwiseAuthorizationServiceRTException - if an exception occurred during authorization processentityUri - entity used for authorizationcriteria - DTO containing criteria for listing authorized rolesAuthorizationServiceRTException - if an exception occurred during authorization process