Search in sources :

Example 1 with AuthenticationExceptionHandler

use of org.apereo.cas.web.flow.AuthenticationExceptionHandler in project cas by apereo.

the class CasCoreAuthenticationSupportConfiguration method authenticationExceptionHandler.

@Bean
public AuthenticationExceptionHandler authenticationExceptionHandler() {
    final AuthenticationExceptionHandler h = new AuthenticationExceptionHandler();
    h.setErrors(casProperties.getAuthn().getExceptions().getExceptions());
    return h;
}
Also used : AuthenticationExceptionHandler(org.apereo.cas.web.flow.AuthenticationExceptionHandler) Bean(org.springframework.context.annotation.Bean)

Aggregations

AuthenticationExceptionHandler (org.apereo.cas.web.flow.AuthenticationExceptionHandler)1 Bean (org.springframework.context.annotation.Bean)1