Results 1 to 2 of 2

Thread: SecurityContextHolder

  1. #1
    Join Date
    Sep 2012
    Posts
    1

    Default 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. #2
    Join Date
    Feb 2009
    Location
    Helsinki
    Posts
    152

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •