- getAccessToken() - Static method in class com.sap.cloud.security.token.SecurityContext
-
Returns the token that is saved in thread wide storage.
- 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 interface com.sap.cloud.security.json.JsonObject
-
Parses the json object for the given property name and returns a list
of type T.
- getAsLong(String) - Method in interface com.sap.cloud.security.json.JsonObject
-
Returns a
Long identified by the given property
name.
- getAsString(String) - Method in interface com.sap.cloud.security.json.JsonObject
-
Returns the string identified by the given property name.
- getAsStringList(String) - Method in interface com.sap.cloud.security.json.JsonObject
-
Parses the json object for the given property name and returns a
String list.
- getAttributeFromClaimAsString(String, String) - Method in interface com.sap.cloud.security.token.AccessToken
-
Returns the String value of a claim attribute.
- getAttributeFromClaimAsString(String, String) - Method in interface com.sap.cloud.security.token.Token
-
Returns the String value of a claim attribute.
- getAttributeFromClaimAsStringList(String, String) - Method in interface com.sap.cloud.security.token.Token
-
Returns the String list of a claim attribute.
- getAudiences() - Method in interface com.sap.cloud.security.token.Token
-
Returns the (empty) list of audiences the token is issued for.
- getCacheDuration() - Method in interface com.sap.cloud.security.config.CacheConfiguration
-
Returns the duration of the expire after write property of the cache.
- getCacheSize() - Method in interface com.sap.cloud.security.config.CacheConfiguration
-
Returns the number of elements the cache can hold.
- getCertificate() - Method in class com.sap.cloud.security.config.ClientCertificate
-
- getCertificate() - Method in interface com.sap.cloud.security.config.ClientIdentity
-
PEM encoded certificate chain.
- getCertUrl() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Cert URL of the OAuth2 identity service instance.
- 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 interface com.sap.cloud.security.token.Token
-
Extracts the value of the given as a JsonObject.
- getClaimAsString(String) - Method in interface com.sap.cloud.security.token.Token
-
Extracts the value as string for the given claim.
- getClaimAsStringList(String) - Method in interface com.sap.cloud.security.token.Token
-
Extracts the value as a list of strings for the given claim.
- getClaims() - Method in interface com.sap.cloud.security.token.Token
-
Returns the jwt claim set.
- getClientCertificate() - Static method in class com.sap.cloud.security.token.SecurityContext
-
Returns the certificate that is saved in thread wide storage.
- getClientId() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Client id of identity service instance.
- getClientId() - Method in interface com.sap.cloud.security.token.Token
-
Returns the OAuth2 client identifier of the authentication token if present.
- getClientIdentity() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Client Identity of xsuaa instance
- getClientSecret() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Client secret of identity service instance.
- getCredentialType() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Credential type as defined in "oauth2-configuration" of the xsuaa service
instance security descriptor.
- getDomains() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Domains of the OAuth2 identity service instance.
- getExpiration() - Method in interface com.sap.cloud.security.token.Token
-
Returns the moment in time when the token will be expired.
- getGrantType() - Method in interface com.sap.cloud.security.token.Token
-
Returns the grant type of the jwt token.
- getHeaderParameterAsString(String) - Method in interface com.sap.cloud.security.token.Token
-
Returns the header parameter value as string for the given header parameter
name.
- getHeaders() - Method in interface com.sap.cloud.security.token.Token
-
Returns the header(s).
- getIasConfiguration() - Method in interface com.sap.cloud.security.config.Environment
-
Return OAuth service configuration of IAS identity service instance.
- getId() - Method in class com.sap.cloud.security.config.ClientCertificate
-
- getId() - Method in class com.sap.cloud.security.config.ClientCredentials
-
- getId() - Method in interface com.sap.cloud.security.config.ClientIdentity
-
Client id of identity service instance.
- getIssuer() - Method in interface com.sap.cloud.security.token.Token
-
Returns the identifier for the Issuer of the token.
- getJsonObject(String) - Method in interface com.sap.cloud.security.json.JsonObject
-
Returns a nested JSON object as @{link JsonObject} instance.
- getJsonObjects(String) - Method in interface com.sap.cloud.security.json.JsonObject
-
Returns a nested array of JSON objects as list of
JsonObject
instances.
- getKey() - Method in class com.sap.cloud.security.config.ClientCertificate
-
- getKey() - Method in interface com.sap.cloud.security.config.ClientIdentity
-
PEM encoded private key the certificate is signed with.
- getKeyValueMap() - Method in interface com.sap.cloud.security.json.JsonObject
-
Returns a key-value map of the JSON properties.
- 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 interface com.sap.cloud.security.config.Environment
-
Returns number of Xsuaa identity service instances.
- getOrCreateCorrelationId() - Static method in class com.sap.cloud.security.servlet.MDCHelper
-
Gets correlation_id from MDC, if it is missing, new correlation_id will be
created.
- getPrincipal() - Method in interface com.sap.cloud.security.servlet.TokenAuthenticationResult
-
The principal associated with the request.
- 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.
- getProperties() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Returns all properties of the configuration as a map.
- getProperty(String) - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Returns the value of the given property as string.
- getScopes() - Method in interface 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".
- getSecret() - Method in class com.sap.cloud.security.config.ClientCredentials
-
- getSecret() - Method in interface com.sap.cloud.security.config.ClientIdentity
-
Client secret of identity service instance.
- getService() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Returns the identity
Service of this configuration.
- getService() - Method in interface com.sap.cloud.security.token.Token
-
Returns the identity service, the token is issued by.
- getSubaccountId() - Method in interface com.sap.cloud.security.token.AccessToken
-
Returns subaccount identifier.
- getSubjectDN() - Method in interface com.sap.cloud.security.x509.Certificate
-
Gets certificate subject DN.
- getSubjectDNMap() - Method in interface com.sap.cloud.security.x509.Certificate
-
Gets certificate subject DN map.
- getThumbprint() - Method in interface com.sap.cloud.security.x509.Certificate
-
Gets certificate 'x5t' thumbprint which is a base64url-encoded SHA-1
thumbprint (a.k.a.
- getToken() - Method in interface 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 interface com.sap.cloud.security.token.Token
-
Get the encoded jwt token, e.g.
- getType() - Method in interface com.sap.cloud.security.config.Environment
-
- getUnauthenticatedReason() - Method in interface com.sap.cloud.security.servlet.TokenAuthenticationResult
-
If not authenticated, this returns the reason why as text.
- getUrl() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Base URL of the OAuth2 identity service instance.
- getXsuaaConfiguration() - Method in interface com.sap.cloud.security.config.Environment
-
Return OAuth service configuration of Xsuaa identity service instance.
- getXsuaaConfigurationForTokenExchange() - Method in interface com.sap.cloud.security.config.Environment
-
In case there is only one Xsuaa identity service instance, this one gets
returned.
- getZoneId() - Method in interface com.sap.cloud.security.token.Token
-
Returns the Zone identifier, which can be used as tenant discriminator
(tenant guid).
- 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
- GROUPS - Static variable in class com.sap.cloud.security.token.TokenClaims
-
- validateRequest(ServletRequest, ServletResponse) - Method in interface com.sap.cloud.security.servlet.TokenAuthenticator
-
Performs the authentication for the given request.
- 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.CredentialType
-
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.k8s.K8sConstants.Plan
-
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.
- 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.CredentialType
-
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.k8s.K8sConstants.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.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.
- 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
-
- VERIFICATION_KEY - Static variable in class com.sap.cloud.security.config.cf.CFConstants.XSUAA
-