public class IdpSecurityContextInterceptor
extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
SecurityContext
with system session for IDP controllers to perform service calls to the middleware.Constructor and Description |
---|
IdpSecurityContextInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object handler,
java.lang.Exception ex) |
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object handler) |
public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler) throws java.lang.Exception
preHandle
in interface org.springframework.web.servlet.HandlerInterceptor
preHandle
in class org.springframework.web.servlet.handler.HandlerInterceptorAdapter
java.lang.Exception
public void afterCompletion(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler, java.lang.Exception ex) throws java.lang.Exception
afterCompletion
in interface org.springframework.web.servlet.HandlerInterceptor
afterCompletion
in class org.springframework.web.servlet.handler.HandlerInterceptorAdapter
java.lang.Exception