| Package | Description |
|---|---|
| com.sap.cloud.sdk.service.prov.api.internal | |
| com.sap.cloud.sdk.service.prov.api.security |
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationDetails |
CSNUtil.getAuthorizationDetails(String serviceOrEntityName)
Reads authorization (@requires/@restrict) details of the given service/entity
name from CSN.json.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationDetails |
AuthorizationRulesContainer.getRule(String serviceOrEntityName)
Reads the rule on-demand from CSN.json and builds it in local data store.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,AuthorizationDetails> |
AuthorizationRulesContainer.getAuthorizationDefinition() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SecurityUtil.checkUserAccess(AuthorizationDetails authDetails,
List<String> scopes,
com.google.gson.JsonObject userAttributes,
String operation) |
static boolean |
SecurityUtil.isAuthenticatedUser(AuthorizationDetails authDetails,
String serviceName) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AuthorizationRulesContainer.setAuthorizationDefinition(Map<String,AuthorizationDetails> authorizationDefinition) |
Copyright © 2020 SAP. All Rights Reserved.