Package org.apereo.cas.web.flow.config
Class CasCoreWebflowConfiguration.CasCoreWebflowExceptionCatalogConfiguration
- java.lang.Object
-
- org.apereo.cas.web.flow.config.CasCoreWebflowConfiguration.CasCoreWebflowExceptionCatalogConfiguration
-
- Enclosing class:
- CasCoreWebflowConfiguration
@Configuration(value="CasCoreWebflowExceptionCatalogConfiguration", proxyBeanMethods=false) @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class) public static class CasCoreWebflowConfiguration.CasCoreWebflowExceptionCatalogConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CasCoreWebflowExceptionCatalogConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apereo.cas.web.flow.authentication.CasWebflowExceptionCataloghandledAuthenticationExceptions(org.apereo.cas.configuration.CasConfigurationProperties casProperties)Handled authentication exceptions set.
-
-
-
Method Detail
-
handledAuthenticationExceptions
@RefreshScope(proxyMode=DEFAULT) @Bean @ConditionalOnMissingBean(name="handledAuthenticationExceptions") public org.apereo.cas.web.flow.authentication.CasWebflowExceptionCatalog handledAuthenticationExceptions(org.apereo.cas.configuration.CasConfigurationProperties casProperties)
Handled authentication exceptions set. Order is important here; We want the account policy exceptions to be handled first before moving onto more generic errors. In the event that multiple handlers are defined, where one fails due to account policy restriction and one fails due to a bad password, we want the error associated with the account policy to be processed first, rather than presenting a more generic error associated- Parameters:
casProperties- the cas properties- Returns:
- the set
-
-