| Package | Description |
|---|---|
| com.sap.cloud.security.adapter.xs | |
| com.sap.cloud.security.servlet | |
| com.sap.cloud.security.token | |
| com.sap.cloud.security.token.validation.validators |
| Constructor and Description |
|---|
XSUserInfoAdapter(Token accessToken) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Token |
AbstractTokenAuthenticator.extractFromHeader(String authorizationHeader)
Extracts the
Token from the authorization header. |
Token |
XsuaaTokenAuthenticator.extractFromHeader(String authorizationHeader) |
Token |
TokenAuthenticationResult.getToken()
The token that was checked for authentication.
|
| Modifier and Type | Method and Description |
|---|---|
protected TokenAuthenticationResult |
AbstractTokenAuthenticator.authenticated(Token token) |
protected TokenAuthenticationResult |
XsuaaTokenAuthenticator.authenticated(Token token) |
static TokenAuthenticationResult |
TokenAuthenticationResult.createAuthenticated(Collection<String> scopes,
Token token) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AccessToken
Represents an access token in the format of a JSON Web Token (not a short
opaque token).
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractToken
Decodes and parses encoded JSON Web Token (JWT) and provides access to token
header parameters and claims.
|
class |
SapIdToken
You can get further token claims from here:
TokenClaims. |
class |
XsuaaToken
Decodes and parses encoded access token (JWT) for the Xsuaa identity service
and provides access to token header parameters and claims.
|
| Modifier and Type | Method and Description |
|---|---|
static Token |
SecurityContext.getToken()
Returns the token that is saved in thread wide storage.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SecurityContext.setToken(Token token)
Saves the validated (!) token thread wide.
|
| Modifier and Type | Method and Description |
|---|---|
CombiningValidator<Token> |
JwtValidatorBuilder.build()
Builds the validators with the applied parameters.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
JwtAudienceValidator.validate(Token token) |
ValidationResult |
JwtSignatureValidator.validate(Token token) |
ValidationResult |
XsuaaJwtIssuerValidator.validate(Token token) |
ValidationResult |
JwtTimestampValidator.validate(Token token) |
ValidationResult |
JwtIssuerValidator.validate(Token token) |
| Modifier and Type | Method and Description |
|---|---|
JwtValidatorBuilder |
JwtValidatorBuilder.with(Validator<Token> validator)
Adds a custom validator to the validation chain.
|
JwtValidatorBuilder |
JwtValidatorBuilder.withAudienceValidator(Validator<Token> audienceValidator)
Sets / overwrites the default audience validator.
|
Copyright © 2020. All rights reserved.