- All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor
@Component
public class ResourceSecurityInterceptor
extends Object
implements org.springframework.web.servlet.HandlerInterceptor
Interceptor for handling forbidden resource requests.
- Author:
- T. Middeldorp, Petru Galanton
-
Constructor Summary
Constructors
-
Method Summary
boolean
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.HandlerInterceptor
afterCompletion, postHandle
-
Constructor Details
-
ResourceSecurityInterceptor
public ResourceSecurityInterceptor()
-
Method Details
-
preHandle
public boolean preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
throws Exception
- Specified by:
preHandle
in interface org.springframework.web.servlet.HandlerInterceptor
- Throws:
Exception