org.codegist.crest.security.interceptor
Class AuthentificationInterceptor
java.lang.Object
org.codegist.crest.interceptor.RequestInterceptorAdapter
org.codegist.crest.security.interceptor.AuthentificationInterceptor
- All Implemented Interfaces:
- RequestInterceptor
public class AuthentificationInterceptor
- extends RequestInterceptorAdapter
Authentification interceptor.
Requires an AuthentificationManager
instance to be present in the custom properties.
AuthentificationInterceptor
public AuthentificationInterceptor(Map<String,Object> customProperties)
AuthentificationInterceptor
public AuthentificationInterceptor(AuthentificationManager authentificationManager)
afterParamsInjectionHandle
public void afterParamsInjectionHandle(HttpRequest.Builder builder,
RequestContext context)
- Description copied from interface:
RequestInterceptor
- Called after parameters have been injected into the request.
- Specified by:
afterParamsInjectionHandle
in interface RequestInterceptor
- Overrides:
afterParamsInjectionHandle
in class RequestInterceptorAdapter
- Parameters:
builder
- The current http request being buildcontext
- The current request context
Copyright © 2011. All Rights Reserved.