Index
All Classes and Interfaces|All Packages|Serialized Form
A
- afterInitialize(ThreadContext) - Method in class com.sap.cloud.sdk.cloudplatform.security.AuthTokenThreadContextListener
- afterInitialize(ThreadContext) - Method in class com.sap.cloud.sdk.cloudplatform.security.BasicAuthenticationThreadContextListener
- authorizePath(String) - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings.OAuth2ServiceSettingsBuilder
- AuthTokenBuilder - Class in com.sap.cloud.sdk.cloudplatform.security
-
Deprecated.
- AuthTokenBuilder() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder
-
Deprecated.
- AuthTokenBuilder.FluentHelperBuild - Interface in com.sap.cloud.sdk.cloudplatform.security
-
Deprecated.Fluent helper to chain operations.
- AuthTokenBuilder.FluentHelperRefreshToken - Class in com.sap.cloud.sdk.cloudplatform.security
-
Deprecated.Fluent helper to chain operations.
- AuthTokenBuilder.FluentHelperUnsignedJwt - Class in com.sap.cloud.sdk.cloudplatform.security
-
Deprecated.
- AuthTokenThreadContextListener - Class in com.sap.cloud.sdk.cloudplatform.security
-
Implementation of
ThreadContextListenerthat ensures the correct initialization ofAuthTokens when working with non-container managed threads on all supported Cloud platforms. - AuthTokenThreadContextListener() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.AuthTokenThreadContextListener
-
Default constructor.
- AuthTokenThreadContextListener(AuthToken) - Constructor for class com.sap.cloud.sdk.cloudplatform.security.AuthTokenThreadContextListener
-
Constructor for providing a
AuthTokento be returned by this listener.
B
- baseUri(URI) - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings.OAuth2ServiceSettingsBuilder
- BasicAuthenticationAccessException - Exception in com.sap.cloud.sdk.cloudplatform.security.exception
-
Thrown if the BasicAuthentication credentials cannot be accessed.
- BasicAuthenticationAccessException() - Constructor for exception com.sap.cloud.sdk.cloudplatform.security.exception.BasicAuthenticationAccessException
- BasicAuthenticationAccessException(String) - Constructor for exception com.sap.cloud.sdk.cloudplatform.security.exception.BasicAuthenticationAccessException
-
Creates a new exception based on the given message.
- BasicAuthenticationAccessException(String, Throwable) - Constructor for exception com.sap.cloud.sdk.cloudplatform.security.exception.BasicAuthenticationAccessException
-
Creates a new exception based on the given message.
- BasicAuthenticationAccessor - Class in com.sap.cloud.sdk.cloudplatform.security
-
Static accessor to retrieve the BasicCredentials of the currently incoming request.
- BasicAuthenticationFacade - Interface in com.sap.cloud.sdk.cloudplatform.security
-
Facade for retrieving the current
BasicCredentials. - BasicAuthenticationThreadContextListener - Class in com.sap.cloud.sdk.cloudplatform.security
-
ThreadContextListenerimplementation reading the Basic Authentication Header from the incoming request and storing it in the currentThreadContext. - BasicAuthenticationThreadContextListener() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.BasicAuthenticationThreadContextListener
- build() - Method in interface com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder.FluentHelperBuild
-
Deprecated.Builds the
AuthToken. - build() - Method in class com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder.FluentHelperRefreshToken
-
Deprecated.
- build() - Method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceProvider.OAuth2ServiceProviderBuilder
-
Deprecated.Finilize builder, instantiate the object.
- build() - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings.OAuth2ServiceSettingsBuilder
- builder() - Static method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceProvider
-
Deprecated.Instantiate a new builder.
C
- canEqual(Object) - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
- canEqual(Object) - Method in class com.sap.cloud.sdk.cloudplatform.security.principal.ScpCfPrincipal
-
Deprecated.
- com.sap.cloud.sdk.cloudplatform.security - package com.sap.cloud.sdk.cloudplatform.security
- com.sap.cloud.sdk.cloudplatform.security.exception - package com.sap.cloud.sdk.cloudplatform.security.exception
- com.sap.cloud.sdk.cloudplatform.security.principal - package com.sap.cloud.sdk.cloudplatform.security.principal
- com.sap.cloud.sdk.cloudplatform.security.secret - package com.sap.cloud.sdk.cloudplatform.security.secret
- create() - Static method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2TokenServiceCache
-
Create an empty cache.
- create(Map<ClientIdentity, OAuth2TokenService>) - Static method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2TokenServiceCache
-
Create a new cache based on an existing
Mapinstance.
D
- decodedJwt(DecodedJWT) - Method in class com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder
-
Deprecated.Use a
DecodedJWTfor constructing theAuthToken. - decorateCallable(Callable<T>) - Method in class com.sap.cloud.sdk.cloudplatform.security.SecurityContextThreadContextDecorator
- DefaultBasicAuthenticationFacade - Class in com.sap.cloud.sdk.cloudplatform.security
-
Default implementation of the
BasicAuthenticationAccessorreading the username and password from the currentThreadContextor, after that, from the currently incoming request and returning it as aBasicCredentialsobject. - DefaultBasicAuthenticationFacade() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.DefaultBasicAuthenticationFacade
- DefaultLocalScopePrefixProvider - Class in com.sap.cloud.sdk.cloudplatform.security.principal
-
Deprecated.To be removed without replacement. Please refer to release notes for more information.
- DefaultLocalScopePrefixProvider() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.principal.DefaultLocalScopePrefixProvider
-
Deprecated.
E
- encodedJwt(String) - Method in class com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder
-
Deprecated.Use an encoded JWT for constructing the
AuthToken. - equals(Object) - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
- equals(Object) - Method in class com.sap.cloud.sdk.cloudplatform.security.principal.ScpCfPrincipal
-
Deprecated.
- executeWithAuthToken(AuthToken, Callable<T>) - Method in class com.sap.cloud.sdk.cloudplatform.security.ScpCfAuthTokenFacade
F
- FluentHelperRefreshToken(String) - Constructor for class com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder.FluentHelperRefreshToken
-
Deprecated.
- FluentHelperUnsignedJwt() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder.FluentHelperUnsignedJwt
-
Deprecated.
G
- getAuthorizations(Payload) - Method in class com.sap.cloud.sdk.cloudplatform.security.principal.LocalScopePrefixExtractor
-
Deprecated.Extracts the authorizations from the given JWT.
- getAuthorizePath() - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
- getBaseUri() - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
- getBasicAuthenticationFacade() - Static method in class com.sap.cloud.sdk.cloudplatform.security.BasicAuthenticationAccessor
-
The actual implementation used to forward the business logic calls to.
- getKeysetPath() - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
- getLocalScopePrefix() - Method in class com.sap.cloud.sdk.cloudplatform.security.principal.DefaultLocalScopePrefixProvider
-
Deprecated.
- getLocalScopePrefix() - Method in interface com.sap.cloud.sdk.cloudplatform.security.principal.LocalScopePrefixProvider
-
Deprecated.Returns the local scope prefix determined by the given implementation.
- getPriority() - Method in class com.sap.cloud.sdk.cloudplatform.security.AuthTokenThreadContextListener
- getPriority() - Method in class com.sap.cloud.sdk.cloudplatform.security.BasicAuthenticationThreadContextListener
- getPriority() - Method in class com.sap.cloud.sdk.cloudplatform.security.SecurityContextThreadContextDecorator
- getRefreshToken(DecodedJWT) - Method in class com.sap.cloud.sdk.cloudplatform.security.ScpCfAuthTokenFacade
-
Deprecated.Please leverage the security library directly instead.
- getSecret() - Method in class com.sap.cloud.sdk.cloudplatform.security.secret.ScpCfSecretStore
-
Deprecated.
- getTokenPath() - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
- getTokenService(ClientIdentity) - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2TokenServiceCache.Default
- getTokenService(ClientIdentity) - Method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2TokenServiceCache
-
Get the token service.
- getXsuaaTokenFlows() - Method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceProvider
-
Deprecated.Shortcut method to instantiate an XSUAA request builder from the security library.
H
- hashCode() - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
- hashCode() - Method in class com.sap.cloud.sdk.cloudplatform.security.principal.ScpCfPrincipal
-
Deprecated.
I
- invalidateCache() - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2TokenServiceCache.Default
- invalidateCache() - Method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2TokenServiceCache
-
Invalidate the cache.
K
- keysetPath(String) - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings.OAuth2ServiceSettingsBuilder
L
- LocalScopePrefixExtractor - Class in com.sap.cloud.sdk.cloudplatform.security.principal
-
Deprecated.To be removed without replacement. Please refer to release notes for more information.
- LocalScopePrefixExtractor(LocalScopePrefixProvider) - Constructor for class com.sap.cloud.sdk.cloudplatform.security.principal.LocalScopePrefixExtractor
-
Deprecated.Creates a new instance with the given
LocalScopePrefixProviderwhich provides the prefix of the scopes to be used. - LocalScopePrefixProvider - Interface in com.sap.cloud.sdk.cloudplatform.security.principal
-
Deprecated.To be removed without replacement. Please refer to release notes for more information.
O
- OAuth2ServiceProvider - Interface in com.sap.cloud.sdk.cloudplatform.security
-
Deprecated.Please directly use the token client library instead.
- OAuth2ServiceProvider.OAuth2ServiceProviderBuilder - Interface in com.sap.cloud.sdk.cloudplatform.security
-
Deprecated.Builder type to customize OAuth2 service specific settings.
- OAuth2ServiceSettings - Class in com.sap.cloud.sdk.cloudplatform.security
-
Settings about the Authorization Server.
- OAuth2ServiceSettings(URI, String, String, String) - Constructor for class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
- OAuth2ServiceSettings.OAuth2ServiceSettingsBuilder - Class in com.sap.cloud.sdk.cloudplatform.security
- OAuth2TokenServiceCache - Interface in com.sap.cloud.sdk.cloudplatform.security
-
The cache to store instances of
OAuth2TokenServiceaccording toClientIdentity. - OAuth2TokenServiceCache.Default - Class in com.sap.cloud.sdk.cloudplatform.security
-
Default implementation of the interface.
- ofBaseUri(URI) - Static method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
-
Invoke a builder for this type.
- ofTenant(String, String) - Method in class com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder.FluentHelperUnsignedJwt
-
Deprecated.A non-validated JWT is constructed based on tenant information (
xsappnameand issuer URL of subscriber inVCAP_SERVICESenvironment variable). - ofTenant(String, URI, Collection<String>) - Method in class com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder.FluentHelperUnsignedJwt
-
Deprecated.A non-validated JWT is constructed based on tenant information.
P
- platform(CloudPlatform) - Method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceProvider.OAuth2ServiceProviderBuilder
-
Deprecated.Set a static platform object.
- PROPERTY_AUTH_TOKEN - Static variable in class com.sap.cloud.sdk.cloudplatform.security.AuthTokenThreadContextListener
-
The ThreadContext key.
- PROPERTY_BASIC_AUTH_HEADER - Static variable in class com.sap.cloud.sdk.cloudplatform.security.BasicAuthenticationThreadContextListener
-
The key of the stored BasicCredentials in the current
ThreadContext.
R
- refreshToken(String) - Method in class com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder.FluentHelperRefreshToken
-
Deprecated.Specifies to use the given refresh token to refresh the encoded JWT, if expired.
S
- ScpCfAuthTokenFacade - Class in com.sap.cloud.sdk.cloudplatform.security
-
Facade for retrieving the current
AuthToken. - ScpCfAuthTokenFacade() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.ScpCfAuthTokenFacade
-
Default constructor.
- ScpCfAuthTokenFacade(OAuth2TokenService, OAuth2ServiceConfiguration) - Constructor for class com.sap.cloud.sdk.cloudplatform.security.ScpCfAuthTokenFacade
-
Deprecated.Token validation will be removed with the next major release. Please leverage the security library directly instead.
- ScpCfPrincipal - Class in com.sap.cloud.sdk.cloudplatform.security.principal
-
Deprecated.Please use
DefaultPrincipalinstead. - ScpCfPrincipal() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.principal.ScpCfPrincipal
-
Deprecated.Creates a
ScpCfPrincipalwith an empty principal identifier, no authorizations, and no attributes. - ScpCfPrincipal(String, Set<Authorization>, Map<String, PrincipalAttribute>) - Constructor for class com.sap.cloud.sdk.cloudplatform.security.principal.ScpCfPrincipal
-
Deprecated.Creates a new
ScpCfPrincipal. - ScpCfPrincipalFacade - Class in com.sap.cloud.sdk.cloudplatform.security.principal
-
Deprecated.Please use
DefaultPrincipalFacadeinstead. - ScpCfPrincipalFacade() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.principal.ScpCfPrincipalFacade
-
Deprecated.Default constructor with default strategies.
- ScpCfPrincipalFacade(LocalScopePrefixProvider) - Constructor for class com.sap.cloud.sdk.cloudplatform.security.principal.ScpCfPrincipalFacade
-
Deprecated.Creates a new instance of this facade with the given prefix provider.
- ScpCfSecretStore - Class in com.sap.cloud.sdk.cloudplatform.security.secret
-
Deprecated.without replacement.
- ScpCfSecretStore() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.secret.ScpCfSecretStore
-
Deprecated.Creates a mocked
ScpCfSecretStore. - ScpCfSecretStoreFacade - Class in com.sap.cloud.sdk.cloudplatform.security.secret
-
Deprecated.without replacement.
- ScpCfSecretStoreFacade() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.secret.ScpCfSecretStoreFacade
-
Deprecated.
- SecurityContextThreadContextDecorator - Class in com.sap.cloud.sdk.cloudplatform.security
-
Implementation of
ThreadContextDecoratorthat ensures the correct initialization ofTokenswhen working with non-container managed threads on Cloud Foundry. - SecurityContextThreadContextDecorator() - Constructor for class com.sap.cloud.sdk.cloudplatform.security.SecurityContextThreadContextDecorator
- serviceSettings(OAuth2ServiceSettings) - Method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceProvider.OAuth2ServiceProviderBuilder
-
Deprecated.Set custom OAuth service settings.
- setBasicAuthenticationFacade(BasicAuthenticationFacade) - Static method in class com.sap.cloud.sdk.cloudplatform.security.BasicAuthenticationAccessor
-
Overrides the currently set facade with the given one, potentially changing the behavior of all following calls to the
BasicAuthenticationAccessor. - setIdExtractorFunction(String, CheckedFunction1<DecodedJWT, String>) - Method in class com.sap.cloud.sdk.cloudplatform.security.principal.ScpCfPrincipalFacade
-
Deprecated.This allows to set/override the way the
Principal.getPrincipalId()is obtained, given agrant_typein theAuthToken. - single(OAuth2TokenService) - Static method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2TokenServiceCache
-
Create ab immutable cache instance, with a single entry that is being returned for any provided client identity.
- staticAccessToken(DecodedJWT) - Method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceProvider.OAuth2ServiceProviderBuilder
-
Deprecated.Set a static access token.
- staticCredentials(Credentials) - Method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceProvider.OAuth2ServiceProviderBuilder
-
Deprecated.Set a static credentials object.
T
- tokenPath(String) - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings.OAuth2ServiceSettingsBuilder
- tokenServiceCache(OAuth2TokenServiceCache) - Method in interface com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceProvider.OAuth2ServiceProviderBuilder
-
Deprecated.Set a token service cache.
- toOAuth2Endpoints() - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
-
Helps in constructing the OAuth2 endpoints; the tokenEndpoint, authorize and key set URI (JWKS) from the
baseUri. - toString() - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings.OAuth2ServiceSettingsBuilder
- toString() - Method in class com.sap.cloud.sdk.cloudplatform.security.OAuth2ServiceSettings
- toString() - Method in class com.sap.cloud.sdk.cloudplatform.security.principal.ScpCfPrincipal
-
Deprecated.
- tryGetBasicCredentials() - Method in interface com.sap.cloud.sdk.cloudplatform.security.BasicAuthenticationFacade
-
Retrieves the username password pair and returns them as
Try.Success. - tryGetBasicCredentials() - Method in class com.sap.cloud.sdk.cloudplatform.security.DefaultBasicAuthenticationFacade
- tryGetCurrentBasicCredentials() - Static method in class com.sap.cloud.sdk.cloudplatform.security.BasicAuthenticationAccessor
-
Getter to retrieve the basic credentials given by the currently incoming request.
- tryGetCurrentPrincipal() - Method in class com.sap.cloud.sdk.cloudplatform.security.principal.ScpCfPrincipalFacade
-
Deprecated.
- tryGetCurrentToken() - Method in class com.sap.cloud.sdk.cloudplatform.security.ScpCfAuthTokenFacade
- tryGetKeyStore(String, SecretStore) - Method in class com.sap.cloud.sdk.cloudplatform.security.secret.ScpCfSecretStoreFacade
-
Deprecated.
- tryGetSecretStore(String) - Method in class com.sap.cloud.sdk.cloudplatform.security.secret.ScpCfSecretStoreFacade
-
Deprecated.
- tryGetXsuaaServiceToken() - Method in class com.sap.cloud.sdk.cloudplatform.security.ScpCfAuthTokenFacade
-
Deprecated.Please leverage the XSUAA Security Library directly instead.
U
- unsignedJwt() - Method in class com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder
-
Deprecated.Use an non-validated, unsigned JWT for constructing the
AuthToken.
All Classes and Interfaces|All Packages|Serialized Form