public class AuthorizationInterceptor extends java.lang.Object implements IRequestInterceptor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AUTHORIZATION_HEADER_NAME
The authorization header name.
|
static java.lang.String |
OAUTH_BEARER_PREFIX
The bearer prefix.
|
| Constructor and Description |
|---|
AuthorizationInterceptor(IAuthenticator authenticator,
ILogger logger)
Creates the authorization interceptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
intercept(IHttpRequest request)
Intercepts the request.
|
public static final java.lang.String AUTHORIZATION_HEADER_NAME
public static final java.lang.String OAUTH_BEARER_PREFIX
public AuthorizationInterceptor(IAuthenticator authenticator, ILogger logger)
authenticator - The authenticator.logger - The logger.public void intercept(IHttpRequest request)
intercept in interface IRequestInterceptorrequest - The request to intercept.