Package org.apereo.cas.config
Class CasCoreWebflowConfiguration.CasCoreWebflowExceptionCatalogConfiguration
java.lang.Object
org.apereo.cas.config.CasCoreWebflowConfiguration.CasCoreWebflowExceptionCatalogConfiguration
- Enclosing class:
CasCoreWebflowConfiguration
@Configuration(value="CasCoreWebflowExceptionCatalogConfiguration",
proxyBeanMethods=false)
@EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
public static class CasCoreWebflowConfiguration.CasCoreWebflowExceptionCatalogConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.web.flow.authentication.CasWebflowExceptionCataloghandledAuthenticationExceptions(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties) Handled authentication exceptions set.
-
Constructor Details
-
CasCoreWebflowExceptionCatalogConfiguration
public CasCoreWebflowExceptionCatalogConfiguration()
-
-
Method Details
-
handledAuthenticationExceptions
@RefreshScope(proxyMode=DEFAULT) @Bean @ConditionalOnMissingBean(name="handledAuthenticationExceptions") public org.apereo.cas.web.flow.authentication.CasWebflowExceptionCatalog handledAuthenticationExceptions(org.springframework.context.ConfigurableApplicationContext applicationContext, 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
-