public class XsuaaTokenAuthenticator extends AbstractTokenAuthenticator
httpClient, serviceConfiguration| Constructor and Description |
|---|
XsuaaTokenAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
protected TokenAuthenticationResult |
authenticated(Token token) |
Token |
extractFromHeader(String authorizationHeader)
Extracts the
Token from the authorization header. |
protected OAuth2ServiceConfiguration |
getServiceConfiguration()
Return configured service configuration or Environments.getCurrent() if not
configured.
|
validateRequest, withHttpClient, withServiceConfiguration, withValidationListenerpublic Token extractFromHeader(String authorizationHeader)
AbstractTokenAuthenticatorToken from the authorization header.extractFromHeader in class AbstractTokenAuthenticatorauthorizationHeader - the value of the 'Authorization' request headerToken instance.protected OAuth2ServiceConfiguration getServiceConfiguration()
AbstractTokenAuthenticatorgetServiceConfiguration in class AbstractTokenAuthenticatorprotected TokenAuthenticationResult authenticated(Token token)
authenticated in class AbstractTokenAuthenticatorCopyright © 2020. All rights reserved.