File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/main/java/eu/openanalytics/containerproxy/auth/impl/saml Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 69
69
import org .springframework .security .web .authentication .logout .LogoutHandler ;
70
70
import org .springframework .security .web .authentication .logout .SecurityContextLogoutHandler ;
71
71
import org .springframework .security .web .authentication .logout .SimpleUrlLogoutSuccessHandler ;
72
+ import org .springframework .security .web .authentication .session .ChangeSessionIdAuthenticationStrategy ;
72
73
import org .springframework .security .web .util .matcher .AntPathRequestMatcher ;
73
74
74
75
import javax .inject .Inject ;
@@ -324,6 +325,7 @@ public SAMLProcessingFilter samlWebSSOProcessingFilter() throws Exception {
324
325
samlWebSSOProcessingFilter .setAuthenticationManager (authenticationManager );
325
326
samlWebSSOProcessingFilter .setAuthenticationSuccessHandler (successRedirectHandler ());
326
327
samlWebSSOProcessingFilter .setAuthenticationFailureHandler (authenticationFailureHandler ());
328
+ samlWebSSOProcessingFilter .setSessionAuthenticationStrategy (new ChangeSessionIdAuthenticationStrategy ());
327
329
return samlWebSSOProcessingFilter ;
328
330
}
329
331
You can’t perform that action at this time.
0 commit comments