Modifier and Type | Class and Description |
---|---|
class |
AccountSpecificAuthorization
Authorization implementation based on an account Id and another Authorization . |
class |
Role
A role a user can assume as a form of
Authorization . |
class |
Scope
Represents a scope as a form of
Authorization . |
class |
TenantSpecificAuthorization
Authorization implementation based on a tenant identifier and another Authorization . |
class |
UserSpecificAuthorization
Authorization implementation based on a tenant identifier, a user name, and another Authorization . |
Modifier and Type | Field and Description |
---|---|
protected Authorization |
AccountSpecificAuthorization.authorization
The wrapped authorization.
|
protected Authorization |
UserSpecificAuthorization.authorization
The wrapped authorization.
|
protected Authorization |
TenantSpecificAuthorization.authorization
The wrapped authorization.
|
Modifier and Type | Method and Description |
---|---|
Authorization |
AccountSpecificAuthorization.getAuthorization()
The wrapped authorization.
|
Authorization |
UserSpecificAuthorization.getAuthorization()
The wrapped authorization.
|
Authorization |
TenantSpecificAuthorization.getAuthorization()
The wrapped authorization.
|
Constructor and Description |
---|
AccountSpecificAuthorization(String accountId,
Authorization authorization)
Creates a new authorization based on the tenant identifier and another
Authorization . |
TenantSpecificAuthorization(String tenantId,
Authorization authorization)
Creates a new authorization based on the tenant identifier and another
Authorization . |
UserSpecificAuthorization(String tenantId,
String userName,
Authorization authorization)
Creates a new authorization based on the tenant identifier, the user name, and another
Authorization . |
Modifier and Type | Method and Description |
---|---|
Set<Authorization> |
ScpNeoPrincipal.getAuthorizations()
The authorizations this Principal has.
|
Set<Authorization> |
Principal.getAuthorizations()
The authorizations this Principal has.
|
Set<Authorization> |
DefaultPrincipal.getAuthorizations()
The authorizations this Principal has.
|
io.vavr.control.Try<Set<Authorization>> |
LocalScopePrefixExtractor.getAuthorizations(com.auth0.jwt.interfaces.Payload jwt)
Extracts the authorizations from the given JWT.
|
Constructor and Description |
---|
DefaultPrincipal(String principalId,
Set<Authorization> authorizations,
Map<String,PrincipalAttribute> attributes) |
ScpCfPrincipal(String principalId,
Set<Authorization> authorizations,
Map<String,PrincipalAttribute> attributes)
Creates a new
ScpCfPrincipal . |
Constructor and Description |
---|
TenantSpecificUserProvider(Authorization featureToggleAuthorization) |
Modifier and Type | Field and Description |
---|---|
protected Set<Authorization> |
AccessDeniedException.missingAuthorizations
The missing authorization values.
|
Modifier and Type | Method and Description |
---|---|
Set<Authorization> |
AccessDeniedException.getMissingAuthorizations()
The missing authorization values.
|
Modifier and Type | Method and Description |
---|---|
static AccessDeniedException |
AccessDeniedException.raiseMissingAuthorizations(Principal principal,
Iterable<? extends Authorization> missingAuthorizations)
Static factory method to instantiate a new exception.
|
Constructor and Description |
---|
AccessDeniedException(Principal principal,
Set<Authorization> missingAuthorizations)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Principal |
MockUtil.mockCurrentPrincipal(String principalId,
Collection<Authorization> authorizations,
Map<String,PrincipalAttribute> attributes) |
Principal |
MockUtil.mockPrincipal(String principalId,
Collection<Authorization> authorizations,
Map<String,PrincipalAttribute> attributes) |
Copyright © 2021 SAP SE. All rights reserved.