HTTPSESSESSION NACH NULL-Objekt für Spring_Security_Context zurückgegeben
-
12-12-2019 - |
Frage
Ich habe das Protokoll überprüft und ich fand das:
org.springframework.security.web.ctext.httpssionsionscuritycontExtrepository - HTTPSESSESSION Zurückgegebenes Nullobjekt für Spring_Security_Context org.springframework.security.web.context.httpssionsionecuritycontredeprofository - Kein SecurityContext war von der HTTPSession (org.apache.catalina.session.StandardsSessionFacade@fde8FB) verfügbar. Ein neuer wird erstellt.
Dies ist das Web.xml generasacodicetagpre.
und der SecurityContext generasacodicetagpre.
jede idee?
danke Emanuele
Lösung
Ich habe das gleiche Problem erlebt.Nachdem das Debugging erkannt wurde, dass SecurityContext gelöscht wird, bevor er anhält.Nach dem Googling fand ich dies: https://jira.springsource.org/browse/sec-2027 Umzug in die Federsicherheitsversion 3.1.2 gelöst es für mich.
Ich hoffe, es wird jemandem helfen.
Andere Tipps
If you are not particular about using Spring, or you can try something that works first and move to Spring later, here is a good tutorial. I have tried this, it works:
http://fczaja.blogspot.com/2012/06/idp-initiated-sso-and-identity.html
The blog author Filip is very responsive, you can get clarifications from him if necessary.