Hum... The session ids are different. Is there a solution to keep the session during authentication ? Thanks !
----- Mail d'origine ----- De: jleleu <[email protected]> À: [email protected] Envoyé: Mon, 16 Apr 2012 11:26:22 +0200 (CEST) Objet: Re:[cas-user] CAS + SpringSecurity + orginal url Hi Vincent, Reading your logs, we see that the right success handler is applied (the SavedRequestAwareAuthenticationSuccessHandler class). That's a good point ! Don't worry about the "security context" messages : it is not linked to the saved request. It tells you that before redirecting to CAS, you are not authenticated and therefore you have no security context (to save). For the saved request, it's strange that it doesn't work. As requests are saved in HTTP sessions, can you check that you have the same JSESSIONID between the first request to http://localhost:8090/hotline-myfoncia/delegation/5/ and the second one to .../j_spring_cas_security_check ? Best regards, Jérôme -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- Vincent POUPET - FONCIA Groupe - DPM/DSI Architecte Développements Tel : 01 55 52 54 70 Email : [email protected] Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Si vous n'êtes pas destinataire de ce message, merci de le détruire et d'en avertir immédiatement l'expéditeur. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération, FONCIA décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Avant d'imprimer ce mail, pensez à l'environnement. -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
