use of org.apereo.cas.adaptors.azure.AzureAuthenticatorMultifactorAuthenticationProvider in project cas by apereo.
the class AzureAuthenticatorAuthenticationEventExecutionPlanConfiguration method azureAuthenticatorAuthenticationProvider.
@Bean
@RefreshScope
public MultifactorAuthenticationProvider azureAuthenticatorAuthenticationProvider() {
final MultifactorAuthenticationProperties.Azure azure = casProperties.getAuthn().getMfa().getAzure();
final AzureAuthenticatorMultifactorAuthenticationProvider p = new AzureAuthenticatorMultifactorAuthenticationProvider();
p.setBypassEvaluator(azureBypassEvaluator());
p.setGlobalFailureMode(casProperties.getAuthn().getMfa().getGlobalFailureMode());
p.setOrder(azure.getRank());
p.setId(azure.getId());
return p;
}
Aggregations