Package org.ikasan.dashboard.security
Class CustomRequestCache
- java.lang.Object
-
- org.springframework.security.web.savedrequest.HttpSessionRequestCache
-
- org.ikasan.dashboard.security.CustomRequestCache
-
- All Implemented Interfaces:
org.springframework.security.web.savedrequest.RequestCache
public class CustomRequestCache extends org.springframework.security.web.savedrequest.HttpSessionRequestCacheHttpSessionRequestCache that avoids saving internal framework requests.
-
-
Constructor Summary
Constructors Constructor Description CustomRequestCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsaveRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)If the method is considered an internal request from the framework, we skip saving it.
-
-
-
Method Detail
-
saveRequest
public void saveRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)If the method is considered an internal request from the framework, we skip saving it.- Specified by:
saveRequestin interfaceorg.springframework.security.web.savedrequest.RequestCache- Overrides:
saveRequestin classorg.springframework.security.web.savedrequest.HttpSessionRequestCache- See Also:
SecurityUtils.isFrameworkInternalRequest(HttpServletRequest)
-
-