File tree Expand file tree Collapse file tree
src/main/java/eu/openanalytics/containerproxy/auth/impl/saml Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969import org .springframework .security .web .authentication .logout .LogoutHandler ;
7070import org .springframework .security .web .authentication .logout .SecurityContextLogoutHandler ;
7171import org .springframework .security .web .authentication .logout .SimpleUrlLogoutSuccessHandler ;
72+ import org .springframework .security .web .authentication .session .ChangeSessionIdAuthenticationStrategy ;
7273import org .springframework .security .web .util .matcher .AntPathRequestMatcher ;
7374
7475import javax .inject .Inject ;
@@ -324,6 +325,7 @@ public SAMLProcessingFilter samlWebSSOProcessingFilter() throws Exception {
324325 samlWebSSOProcessingFilter .setAuthenticationManager (authenticationManager );
325326 samlWebSSOProcessingFilter .setAuthenticationSuccessHandler (successRedirectHandler ());
326327 samlWebSSOProcessingFilter .setAuthenticationFailureHandler (authenticationFailureHandler ());
328+ samlWebSSOProcessingFilter .setSessionAuthenticationStrategy (new ChangeSessionIdAuthenticationStrategy ());
327329 return samlWebSSOProcessingFilter ;
328330 }
329331
You can’t perform that action at this time.
0 commit comments