Search in sources :

Example 1 with MultifactorAuthenticationContingencyPlan

use of org.apereo.cas.impl.plans.MultifactorAuthenticationContingencyPlan in project cas by apereo.

the class ElectronicFenceConfiguration method multifactorAuthenticationContingencyPlan.

@ConditionalOnMissingBean(name = "multifactorAuthenticationContingencyPlan")
@Bean
@RefreshScope
public AuthenticationRiskContingencyPlan multifactorAuthenticationContingencyPlan() {
    final MultifactorAuthenticationContingencyPlan b = new MultifactorAuthenticationContingencyPlan();
    configureContingencyPlan(b);
    return b;
}
Also used : MultifactorAuthenticationContingencyPlan(org.apereo.cas.impl.plans.MultifactorAuthenticationContingencyPlan) RefreshScope(org.springframework.cloud.context.config.annotation.RefreshScope) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

MultifactorAuthenticationContingencyPlan (org.apereo.cas.impl.plans.MultifactorAuthenticationContingencyPlan)1 ConditionalOnMissingBean (org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)1 RefreshScope (org.springframework.cloud.context.config.annotation.RefreshScope)1 Bean (org.springframework.context.annotation.Bean)1