Package com.aquima.web.webinterceptor
Class HttpSecurityInterceptor
- java.lang.Object
-
- org.springframework.web.servlet.handler.HandlerInterceptorAdapter
-
- com.aquima.web.webinterceptor.HttpSecurityInterceptor
-
- All Implemented Interfaces:
org.springframework.web.servlet.AsyncHandlerInterceptor
,org.springframework.web.servlet.HandlerInterceptor
@Component public class HttpSecurityInterceptor extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
Interceptor for handling http method requests .- Author:
- Marius Orsan
-
-
Constructor Summary
Constructors Constructor Description HttpSecurityInterceptor(SecurityConfigProperties config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler)
-
-
-
Constructor Detail
-
HttpSecurityInterceptor
public HttpSecurityInterceptor(SecurityConfigProperties config)
-
-
Method Detail
-
preHandle
public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler) throws Exception
- Specified by:
preHandle
in interfaceorg.springframework.web.servlet.HandlerInterceptor
- Overrides:
preHandle
in classorg.springframework.web.servlet.handler.HandlerInterceptorAdapter
- Throws:
Exception
-
-