Java 类org.springframework.boot.autoconfigure.AutoConfigureOrder 实例源码

项目:cas-5.1.0    文件:DuoSecurityAuthenticationEventExecutionPlanConfiguration.java   
@ConditionalOnMissingBean(name = "duoMultifactorWebflowConfigurer")
@Bean
@Order(Ordered.HIGHEST_PRECEDENCE)
@AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE)
public CasWebflowConfigurer duoMultifactorWebflowConfigurer() {
    final boolean deviceRegistrationEnabled = casProperties.getAuthn().getMfa().getTrusted().isDeviceRegistrationEnabled();
    return new DuoMultifactorWebflowConfigurer(flowBuilderServices, loginFlowDefinitionRegistry, deviceRegistrationEnabled,
            duoMultifactorAuthenticationProvider());
}