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?
Login or Sign Up
- Log in with