public final class AuthorizationRulesContainer extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,AuthorizationDetails> |
getAuthorizationDefinition() |
static AuthorizationDetails |
getRule(String serviceOrEntityName)
Reads the rule on-demand from CSN.json and builds it in local data store.
|
static List<String> |
getServicesAndEntitiesWithoutAuthRule() |
static boolean |
isRuleExist(String serviceOrEntityName)
Reads the rule on-demand from CSN.json and builds it in local data store.
|
static void |
setAuthorizationDefinition(Map<String,AuthorizationDetails> authorizationDefinition) |
static void |
setServicesAndEntitiesWithoutAuthRule(List<String> servicesAndEntitiesWithoutAuthRule) |
public static boolean isRuleExist(String serviceOrEntityName)
serviceOrEntityName - the OData service name / entity name.public static AuthorizationDetails getRule(String serviceOrEntityName)
serviceOrEntityName - the OData service name / entity name.public static Map<String,AuthorizationDetails> getAuthorizationDefinition()
public static void setAuthorizationDefinition(Map<String,AuthorizationDetails> authorizationDefinition)
public static List<String> getServicesAndEntitiesWithoutAuthRule()
Copyright © 2020 SAP. All Rights Reserved.