- 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.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.
- 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.
- 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.
- getClientSecret() - Method in interface com.sap.cloud.security.config.OAuth2ServiceConfiguration
-
Client secret of 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.AccessToken
-
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.
- 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.
- 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.
- 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".
- 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.
- 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
-