public class IasTokenAuthenticator extends AbstractTokenAuthenticator
httpClient, serviceConfiguration| Constructor and Description |
|---|
IasTokenAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
Token |
extractFromHeader(String authorizationHeader)
Extracts the
Token from the authorization header. |
protected OAuth2ServiceConfiguration |
getOtherServiceConfiguration()
Return other configured service configurations or null if not configured.
|
protected OAuth2ServiceConfiguration |
getServiceConfiguration()
Return configured service configuration or Environments.getCurrent() if not
configured.
|
authenticated, validateRequest, withCacheConfiguration, 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 AbstractTokenAuthenticator@Nullable protected OAuth2ServiceConfiguration getOtherServiceConfiguration()
AbstractTokenAuthenticatorgetOtherServiceConfiguration in class AbstractTokenAuthenticatorCopyright © 2020. All rights reserved.