- getAccessToken() - Static method in class com.sap.cloud.security.token.SecurityContext
-
Returns the token that is saved in thread wide storage.
- getAdditionalAuthAttribute(String) - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getAppToken() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getAsInstant(String) - Method in class com.sap.cloud.security.json.DefaultJsonObject
-
- getAsInstant(String) - Method in interface com.sap.cloud.security.json.JsonObject
-
Returns an Instant identified by the given property name.
- getAsList(String, Class<T>) - Method in class com.sap.cloud.security.json.DefaultJsonObject
-
- getAsList(String, Class<T>) - Method in interface com.sap.cloud.security.json.JsonObject
-
Parses the json object for the given property name and returns a list
of type T.
- getAsString(String) - Method in class com.sap.cloud.security.json.DefaultJsonObject
-
- getAsString(String) - Method in interface com.sap.cloud.security.json.JsonObject
-
Returns the string identified by the given property name.
- getAttribute(String) - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getAudiences() - Method in class com.sap.cloud.security.token.AbstractToken
-
- getAudiences() - Method in class com.sap.cloud.security.token.SapIdToken
-
- getAudiences() - Method in interface com.sap.cloud.security.token.Token
-
Returns the (empty) list of audiences the token is issued for.
- getCFName() - Method in enum com.sap.cloud.security.config.Service
-
Returns the name of the identity service as it appears on Cloud Foundry
marketplace.
- getClaimAsJsonObject(String) - Method in class com.sap.cloud.security.token.AbstractToken
-
- getClaimAsJsonObject(String) - Method in interface com.sap.cloud.security.token.Token
-
Extracts the value of the given as a JsonObject.
- getClaimAsString(String) - Method in class com.sap.cloud.security.token.AbstractToken
-
- getClaimAsString(String) - Method in interface com.sap.cloud.security.token.Token
-
Extracts the value as string for the given claim.
- getClaimAsStringList(String) - Method in class com.sap.cloud.security.token.AbstractToken
-
- getClaimAsStringList(String) - Method in interface com.sap.cloud.security.token.Token
-
Extracts the value as a list of strings for the given claim.
- getClientId() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getClientId() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Client id of identity service instance.
- getClientSecret() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Client secret of identity service instance.
- getCloneServiceInstanceId() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getCurrent() - Static method in class com.sap.cloud.security.config.Environments
-
- getDBToken() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getEmail() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getErrorDescription() - Method in interface com.sap.cloud.security.token.validation.ValidationResult
-
The validation error that have been found.
- getExpiration() - Method in class com.sap.cloud.security.token.AbstractToken
-
- getExpiration() - Method in interface com.sap.cloud.security.token.Token
-
Returns the moment in time when the token will be expired.
- getFamilyName() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getGivenName() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getGrantType() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getGrantType() - Method in interface com.sap.cloud.security.token.AccessToken
-
Returns the grant type of the jwt token.
- getGrantType() - Method in class com.sap.cloud.security.token.XsuaaToken
-
- getHdbToken() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getHeaderParameterAsString(String) - Method in class com.sap.cloud.security.token.AbstractToken
-
- getHeaderParameterAsString(String) - Method in interface com.sap.cloud.security.token.Token
-
Returns the header parameter value as string for the given header parameter
name.
- getIasConfiguration() - Method in class com.sap.cloud.security.config.cf.CFEnvironment
-
- getIdentityZone() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getInstance() - Static method in class com.sap.cloud.security.config.cf.CFEnvironment
-
- getInstance(OAuth2ServiceConfiguration) - Static method in class com.sap.cloud.security.token.validation.validators.JwtValidatorBuilder
-
Creates a builder instance that can be configured further.
- getInstance() - Static method in class com.sap.cloud.security.token.validation.validators.OAuth2TokenKeyServiceWithCache
-
Creates a new instance.
- getInstance() - Static method in class com.sap.cloud.security.token.validation.validators.OidcConfigurationServiceWithCache
-
Creates a new instance.
- getJsonObject(String) - Method in class com.sap.cloud.security.json.DefaultJsonObject
-
- getJsonObject(String) - Method in interface com.sap.cloud.security.json.JsonObject
-
Returns a nested JSON object as @{link JsonObject} instance.
- getJsonObjects(String) - Method in class com.sap.cloud.security.json.DefaultJsonObject
-
- getJsonObjects(String) - Method in interface com.sap.cloud.security.json.JsonObject
-
Returns a nested array of JSON objects as list of
JsonObject
instances.
- getJsonValue(String) - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getKeyValueMap() - Method in class com.sap.cloud.security.json.DefaultJsonObject
-
- getKeyValueMap() - Method in interface com.sap.cloud.security.json.JsonObject
-
Returns a key-value map of the JSON properties.
- getLogonName() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getNotBefore() - Method in class com.sap.cloud.security.token.AbstractToken
-
- getNotBefore() - Method in interface com.sap.cloud.security.token.Token
-
Returns the moment in time before which the token must not be accepted.
- getNumberOfXsuaaConfigurations() - Method in class com.sap.cloud.security.config.cf.CFEnvironment
-
- getNumberOfXsuaaConfigurations() - Method in interface com.sap.cloud.security.config.Environment
-
Returns number of Xsuaa identity service instances.
- getOrigin() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getOrRetrieveEndpoints(URI) - Method in class com.sap.cloud.security.token.validation.validators.OidcConfigurationServiceWithCache
-
Returns the cached key by id and type or requests the keys from the jwks URI
of the identity service.
- getPrincipal() - Method in class com.sap.cloud.security.servlet.TokenAuthenticationResult
-
The principal associated with the request.
- getPrincipal() - Method in class com.sap.cloud.security.token.SapIdToken
-
- getPrincipal() - Method in interface com.sap.cloud.security.token.Token
-
Returns a principal, which can be used to represent any entity, such as an
individual, a corporation, and a login id.
- getPrincipal() - Method in class com.sap.cloud.security.token.XsuaaToken
-
- getProperty(String) - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Returns the value of the given property as string.
- getPublicKey(JwtSignatureAlgorithm, String, URI) - Method in class com.sap.cloud.security.token.validation.validators.OAuth2TokenKeyServiceWithCache
-
Returns the cached key by id and type or requests the keys from the jwks URI
of the identity service.
- getScopes() - Method in class com.sap.cloud.security.servlet.TokenAuthenticationResult
-
The authentication scopes.
- getScopes() - Method in interface com.sap.cloud.security.token.AccessToken
-
Returns the list of the claim "scope".
- getScopes() - Method in class com.sap.cloud.security.token.XsuaaToken
-
- getService() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Returns the identity
Service of this configuration.
- getService() - Method in class com.sap.cloud.security.token.SapIdToken
-
- getService() - Method in interface com.sap.cloud.security.token.Token
-
Returns the identity service, the token is issued by.
- getService() - Method in class com.sap.cloud.security.token.XsuaaToken
-
- getServiceConfiguration() - Method in class com.sap.cloud.security.servlet.AbstractTokenAuthenticator
-
Return configured service configuration or Environments.getCurrent() if not
configured.
- getServiceConfiguration() - Method in class com.sap.cloud.security.servlet.XsuaaTokenAuthenticator
-
- getSubaccountId() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getSubdomain() - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getSystemAttribute(String) - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getToken(String, String) - Method in class com.sap.cloud.security.adapter.xs.XSUserInfoAdapter
-
- getToken() - Method in class com.sap.cloud.security.servlet.TokenAuthenticationResult
-
The token that was checked for authentication.
- getToken() - Static method in class com.sap.cloud.security.token.SecurityContext
-
Returns the token that is saved in thread wide storage.
- getTokenValue() - Method in class com.sap.cloud.security.token.AbstractToken
-
- getTokenValue() - Method in interface com.sap.cloud.security.token.Token
-
Get the encoded jwt token, e.g.
- getType() - Method in class com.sap.cloud.security.config.cf.CFEnvironment
-
- getType() - Method in interface com.sap.cloud.security.config.Environment
-
- getUnauthenticatedReason() - Method in class com.sap.cloud.security.servlet.TokenAuthenticationResult
-
If not authenticated, this returns the reason why as text.
- getUniqueCacheKey(JwtSignatureAlgorithm, String, URI) - Static method in class com.sap.cloud.security.token.validation.validators.OAuth2TokenKeyServiceWithCache
-
- getUrl() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Base URL of the OAuth2 identity service instance.
- getValidators() - Method in class com.sap.cloud.security.token.validation.CombiningValidator
-
- getXsuaaConfiguration() - Method in class com.sap.cloud.security.config.cf.CFEnvironment
-
- getXsuaaConfiguration() - Method in interface com.sap.cloud.security.config.Environment
-
Return OAuth service configuration of Xsuaa identity service instance.
- getXsuaaConfigurationForTokenExchange() - Method in class com.sap.cloud.security.config.cf.CFEnvironment
-
- getXsuaaConfigurationForTokenExchange() - Method in interface com.sap.cloud.security.config.Environment
-
In case there is only one Xsuaa identity service instance, this one gets
returned.
- GIVEN_NAME - Static variable in class com.sap.cloud.security.token.TokenClaims
-
- GRANT_TYPE - Static variable in class com.sap.cloud.security.token.TokenClaims.XSUAA
-
- GrantType - Enum in com.sap.cloud.security.token
-
Constants denoting the grant type of a Jwt access token as specified here:
https://tools.ietf.org/html/rfc6749
- validate(T) - Method in class com.sap.cloud.security.token.validation.CombiningValidator
-
- validate(T) - Method in interface com.sap.cloud.security.token.validation.Validator
-
Validates the given object.
- validate(Token) - Method in class com.sap.cloud.security.token.validation.validators.JwtAudienceValidator
-
- validate(Token) - Method in class com.sap.cloud.security.token.validation.validators.JwtIssuerValidator
-
- validate(Token) - Method in class com.sap.cloud.security.token.validation.validators.JwtSignatureValidator
-
- validate(Token) - Method in class com.sap.cloud.security.token.validation.validators.JwtTimestampValidator
-
- validate(Token) - Method in class com.sap.cloud.security.token.validation.validators.XsuaaJwtIssuerValidator
-
- validateRequest(ServletRequest, ServletResponse) - Method in class com.sap.cloud.security.servlet.AbstractTokenAuthenticator
-
- validateRequest(ServletRequest, ServletResponse) - Method in interface com.sap.cloud.security.servlet.TokenAuthenticator
-
Performs the authentication for the given request.
- ValidationListener - Interface in com.sap.cloud.security.token.validation
-
Implement this interface to register custom validation listener to the
CombiningValidator.
- ValidationResult - Interface in com.sap.cloud.security.token.validation
-
Captures the result of a validation.
- ValidationResults - Class in com.sap.cloud.security.token.validation
-
- Validator<T> - Interface in com.sap.cloud.security.token.validation
-
Generic validator interface over type T.
- value() - Method in enum com.sap.cloud.security.token.validation.validators.JwtSignatureAlgorithm
-
- valueOf(String) - Static method in enum com.sap.cloud.security.config.cf.CFConstants.Plan
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.sap.cloud.security.config.Environment.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.sap.cloud.security.config.Service
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.sap.cloud.security.token.GrantType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.sap.cloud.security.token.validation.validators.JwtSignatureAlgorithm
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.sap.cloud.security.config.cf.CFConstants.Plan
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.sap.cloud.security.config.Environment.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.sap.cloud.security.config.Service
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.sap.cloud.security.token.GrantType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.sap.cloud.security.token.validation.validators.JwtSignatureAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VCAP_APPLICATION - Static variable in class com.sap.cloud.security.config.cf.CFConstants
-
- VCAP_SERVICES - Static variable in class com.sap.cloud.security.config.cf.CFConstants
-