src/main/java/ch/bfh/ti/i4mi/mag/xua/SamlIDPIntegration.java
// Handler deciding where to redirect user after successful login
Handler deciding where to redirect user after successful login
Handler deciding where to redirect user after successful login
@Bean
	    public SavedRequestAwareAuthenticationSuccessHandler successRedirectHandler() {
	        SavedRequestAwareAuthenticationSuccessHandler successRedirectHandler =
	                new SavedRequestAwareAuthenticationSuccessHandler();
	        successRedirectHandler.setDefaultTargetUrl("/camel/token");
	        return successRedirectHandler;
	    }
@ Bean public SavedRequestAwareAuthenticationSuccessHandler successRedirectHandler ( ) { SavedRequestAwareAuthenticationSuccessHandler successRedirectHandler = new SavedRequestAwareAuthenticationSuccessHandler ( ) ; successRedirectHandler . setDefaultTargetUrl ( "/camel/token" ) ; return successRedirectHandler ; }
Handler deciding where to redirect user after successful login
Handler deciding where to redirect user after successful login