public class CustomerStateInterceptor
extends java.lang.Object
implements org.springframework.web.context.request.WebRequestInterceptor
PortletAuthenticationProcessingInterceptor in order for this to work properly as this assumes that the
Spring Authentication object has already been set on Spring's SecurityContext (assuming that the user
is authenticated to begin with).CustomerStateRequestProcessor},
CustomerState}| Modifier and Type | Field and Description |
|---|---|
protected CustomerStateRequestProcessor |
customerStateProcessor |
| Constructor and Description |
|---|
CustomerStateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(org.springframework.web.context.request.WebRequest request,
java.lang.Exception ex) |
void |
postHandle(org.springframework.web.context.request.WebRequest request,
org.springframework.ui.ModelMap model) |
void |
preHandle(org.springframework.web.context.request.WebRequest request) |
protected CustomerStateRequestProcessor customerStateProcessor
public void preHandle(org.springframework.web.context.request.WebRequest request)
throws java.lang.Exception
preHandle in interface org.springframework.web.context.request.WebRequestInterceptorjava.lang.Exceptionpublic void postHandle(org.springframework.web.context.request.WebRequest request,
org.springframework.ui.ModelMap model)
throws java.lang.Exception
postHandle in interface org.springframework.web.context.request.WebRequestInterceptorjava.lang.Exceptionpublic void afterCompletion(org.springframework.web.context.request.WebRequest request,
java.lang.Exception ex)
throws java.lang.Exception
afterCompletion in interface org.springframework.web.context.request.WebRequestInterceptorjava.lang.ExceptionCopyright © 2018. All Rights Reserved.