Announcement Announcement Module
Collapse
No announcement yet.
j_spring_security_logout error handling Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • j_spring_security_logout error handling

    Very rarely I get 400(bad request) response back from the server when clicking logout(/j_spring_security_logout) and shows blank page with following error.

    2012/03/27 11:15:12.488 CDT|"http-bio-8080"-exec-7|ERROR|[default]|Servlet.service() for servlet [default] in context with path [/aws-portal-web] threw exception
    java.lang.
    at org.apache.catalina.connector.ResponseFacade.sendR edirect(ResponseFacade.java:473)
    at javax.servlet.http.HttpServletResponseWrapper.send Redirect(HttpServletResponseWrapper.java:138)
    at javax.servlet.http.HttpServletResponseWrapper.send Redirect(HttpServletResponseWrapper.java:138)
    at javax.servlet.http.HttpServletResponseWrapper.send Redirect(HttpServletResponseWrapper.java:138)
    at org.springframework.security.web.context.SaveConte xtOnUpdateOrErrorResponseWrapper.sendRedirect(Save ContextOnUpdateOrErrorResponseWrapper.java:74)
    at org.springframework.security.web.DefaultRedirectSt rategy.sendRedirect(DefaultRedirectStrategy.java:3 9)
    at com.att.awscore.web.security.PortalLogoutSuccessHa ndler.handle(PortalLogoutSuccessHandler.java:65)
    at com.att.awscore.web.security.PortalLogoutSuccessHa ndler.onLogoutSuccess(PortalLogoutSuccessHandler.j ava:35)
    at org.springframework.security.web.authentication.lo gout.LogoutFilter.doFilter(LogoutFilter.java:100)
    at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 355)

    In that case I need to redirect user to home page. Any suggestions plz ?
Working...
X