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

  • SecurityContextHolder

    I downloaded the Spring SAML project and I was able to get it up and running using a test IDP. I'm running into an issue in a new controller that I added. I'm trying to get the SAML details from the incoming messages however the SecurityContextHolder is always null. The index.jsp works fine(the one provided in the sample project) and SecurityContextHolder is populated however once I try to use it in the controller, it's giving me a null pointer exception. Any thoughts on this?

  • #2
    The issue was probably related to bug https://jira.springsource.org/browse/SEC-2027 in Spring Security. Updating to release 3.1.2 or later should make it go away.

    Vladimír Schäfer

    Comment

    Working...
    X