use of org.apereo.cas.adaptors.u2f.U2FMultifactorAuthenticationProvider in project cas by apereo.
the class U2FAuthenticationEventExecutionPlanConfiguration method u2fAuthenticationProvider.
@Bean
@RefreshScope
public MultifactorAuthenticationProvider u2fAuthenticationProvider() {
final U2FMultifactorAuthenticationProvider p = new U2FMultifactorAuthenticationProvider();
p.setBypassEvaluator(u2fBypassEvaluator());
p.setGlobalFailureMode(casProperties.getAuthn().getMfa().getGlobalFailureMode());
p.setOrder(casProperties.getAuthn().getMfa().getU2f().getRank());
p.setId(casProperties.getAuthn().getMfa().getU2f().getId());
return p;
}
Aggregations