Announcement Announcement Module
Collapse
No announcement yet.
Loosing Authentication after Login Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Hi Rob,

    The authentication is lost when I move to a different menu.

    I have the following in my log
    Code:
    14:28:13,602  [,]  DEBUG [org.springframework.security.web.access.intercept.FilterSecurityInterceptor] Public object - authentication not attempted
    14:28:13,602  [,]  DEBUG [org.springframework.security.web.FilterChainProxy] /converge/javax.faces.resource/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png?ln=primefaces-blitzer reached end of additional filter chain; proceeding with original chain
    14:28:13,602  [,]  DEBUG [org.springframework.web.servlet.DispatcherServlet] DispatcherServlet with name 'Spring MVC Dispatcher Servlet' processing GET request for [/Booking/converge/javax.faces.resource/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png]
    14:28:13,602  [,]  DEBUG [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] Matching patterns for request [/javax.faces.resource/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png] are [/javax.faces.resource/**]
    14:28:13,602  [,]  DEBUG [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] URI Template variables for request [/javax.faces.resource/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png] are {}
    14:28:13,602  [,]  DEBUG [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] Mapping [/javax.faces.resource/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png] to HandlerExecutionChain with handler [[email protected]d] and 1 interceptor
    14:28:13,602  [,]  DEBUG [org.springframework.web.servlet.DispatcherServlet] Last-Modified value for [/Booking/converge/javax.faces.resource/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png] is: -1
    14:28:13,617  [,]  DEBUG [org.springframework.web.servlet.DispatcherServlet] Null ModelAndView returned to DispatcherServlet with name 'Spring MVC Dispatcher Servlet': assuming HandlerAdapter completed request handling
    14:28:13,617  [,]  DEBUG [org.springframework.web.servlet.DispatcherServlet] Successfully completed request
    14:28:13,617  [,]  DEBUG [org.springframework.security.web.access.ExceptionTranslationFilter] Chain processed normally
    14:28:13,617  [,]  DEBUG [org.springframework.security.web.context.SecurityContextPersistenceFilter] SecurityContextHolder now cleared, as request processing completed
    Why is my SecurityContextHolder cleared?

    Comment


    • #17
      The SecurityContextHolder is cleared after ever request to ensure you do not get a memory leak. It is repopulated by the SecurityContextRepository on the next request.

      Comment

      Working...
      X