Sep 17th, 2012, 07:38 PM
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?
Jan 1st, 2013, 05:52 PM
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.