com.github.ltsopensource.admin.web.support.csrf
public class CSRFHandlerInterceptor extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
HandlerInterceptor which is responsible to enforce CSRF token validity on incoming posts
requests. The interceptor should be registered with Spring MVC servlet using the following syntax:
| Constructor and Description |
|---|
CSRFHandlerInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler) |
public boolean preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
throws Exception
preHandle in interface org.springframework.web.servlet.HandlerInterceptorpreHandle in class org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionCopyright © 2016. All rights reserved.