src/main/java/ch/bfh/ti/i4mi/mag/xua/SamlIDPIntegration.java
// Handler deciding where to redirect user after failed login
Handler deciding where to redirect user after failed login
Handler deciding where to redirect user after failed login
@Bean
	    public SimpleUrlAuthenticationFailureHandler authenticationFailureHandler() {
		    	SimpleUrlAuthenticationFailureHandler failureHandler =
		    			new SimpleUrlAuthenticationFailureHandler();
		    	failureHandler.setUseForward(false);
		    	return failureHandler;
	    }
@ Bean public SimpleUrlAuthenticationFailureHandler authenticationFailureHandler ( ) { SimpleUrlAuthenticationFailureHandler failureHandler = new SimpleUrlAuthenticationFailureHandler ( ) ; failureHandler . setUseForward ( false ) ; return failureHandler ; }
Handler deciding where to redirect user after failed login
Handler deciding where to redirect user after failed login
// TDODO failureHandler.setDefaultFailureUrl("/error");