Announcement Announcement Module
Collapse
No announcement yet.
Spring SecurityContext is null at tomcat valve Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring SecurityContext is null at tomcat valve

    I am trying to get the SecurityContext at my tomcat valve which is extending AuthenticatorBase, getting back as null

  • #2
    As expected IMHO. The context is cleared as soon as the request is done for the application, valves execute before entering the application and after leaving the application and as such the context is going to be null.

    Comment


    • #3
      Originally posted by Marten Deinum View Post
      As expected IMHO. The context is cleared as soon as the request is done for the application, valves execute before entering the application and after leaving the application and as such the context is going to be null.
      Hi Marten, thanks for the root cause, what will be the possible solution. Thanks.

      Comment


      • #4
        I need to share my securityContext accross multiple web application. How to achive that.

        Comment

        Working...
        X