Modifier and Type | Class and Description |
---|---|
class |
AccountSpecificAuthorization |
class |
Role |
class |
Scope |
class |
TenantSpecificAuthorization |
class |
UserSpecificAuthorization |
Modifier and Type | Method and Description |
---|---|
Authorization |
TenantSpecificAuthorization.getAuthorization() |
Authorization |
AccountSpecificAuthorization.getAuthorization() |
Constructor and Description |
---|
AccountSpecificAuthorization(String accountId,
Authorization authorization) |
TenantSpecificAuthorization(String tenantId,
Authorization authorization) |
UserSpecificAuthorization(String tenantId,
String userName,
Authorization authorization) |
Modifier and Type | Method and Description |
---|---|
Set<Authorization> |
User.getAuthorizations() |
Set<Authorization> |
ScpCfUser.getAuthorizations() |
Set<Authorization> |
ScpNeoUser.getAuthorizations() |
Modifier and Type | Method and Description |
---|---|
boolean |
User.hasAuthorization(Authorization authorization)
Checks whether the user has the given authorization.
|
boolean |
ScpCfUser.hasAuthorization(Authorization authorization) |
boolean |
ScpNeoUser.hasAuthorization(Authorization authorization) |
Constructor and Description |
---|
TenantSpecificUserProvider(Authorization featureToggleAuthorization) |
Modifier and Type | Method and Description |
---|---|
Set<Authorization> |
AccessDeniedException.getMissingAuthorizations() |
Modifier and Type | Method and Description |
---|---|
static AccessDeniedException |
AccessDeniedException.raiseMissingAuthorizations(User user,
Iterable<? extends Authorization> missingAuthorizations) |
static IcfServiceAccessDeniedException |
IcfServiceAccessDeniedException.raiseMissingAuthorizations(User user,
Iterable<? extends Authorization> missingAuthorizations) |
Constructor and Description |
---|
AccessDeniedException(User user,
Set<Authorization> missingAuthorizations) |
IcfServiceAccessDeniedException(User user,
Set<Authorization> missingAuthorizations) |
Modifier and Type | Method and Description |
---|---|
User |
MockUtil.mockCurrentUser(String userName,
Locale locale,
Collection<? extends Authorization> authorizations,
Map<String,? extends UserAttribute> attributes) |
User |
MockUtil.mockUser(String userName,
Locale locale,
Collection<? extends Authorization> authorizations,
Map<String,? extends UserAttribute> attributes) |
Copyright © 2017 SAP SE. All rights reserved.