Hi,
Reading your logs, it seems ok:
08:58:17.920 [http-nio-8080-exec-3] DEBUG o.s.s.w.a.s.SessionFixationProtectionStrategy - Invalidating session with Id 'F25C9C1C6E185C9A7AB0C755A92597D3' and migrating attributes.
08:58:17.920 [http-nio-8080-exec-3] DEBUG o.s.s.w.a.s.SessionFixationProtectionStrategy - Started new session: FCA06DEFBD8E07E2B68A5654942B33F1
08:58:17.921 [http-nio-8080-exec-3] DEBUG o.p.s.s.w.ClientAuthenticationFilter - Authentication success. Updating SecurityContextHolder to contain: org.pac4j.springframework.security.authentication.ClientAuthenticationToken@aee740a4: Principal: CasProfile#justin; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@fffd148a: RemoteIpAddress: 127.0.0.1; SessionId: F25C9C1C6E185C9A7AB0C755A92597D3; Granted Authorities: ROLE_USER
08:58:17.921 [http-nio-8080-exec-3] DEBUG o.s.s.w.a.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://payments.local:8080/user
Then, it goes wrong:
08:58:17.931 [http-nio-8080-exec-4] DEBUG o.s.s.w.c.HttpSessionSecurityContextRepository - HttpSession returned null object for SPRING_SECURITY_CONTEXT
08:58:17.931 [http-nio-8080-exec-4] DEBUG o.s.s.w.c.HttpSessionSecurityContextRepository - No SecurityContext was available from the HttpSession: org.apache.catalina.session.StandardSessionFacade@77cd65f2. A new one will be created.
What's the value of the JSESSIONID cookie (before and after the redirection to the /user url)? What application server do you use?
Thanks.
Best regards,
Jérôme