ElectronicFenceConfiguration.java 文件源码

java
阅读 45 收藏 0 点赞 0 评论 0

项目:cas-5.1.0 作者:
@ConditionalOnMissingBean(name = "authenticationRiskMitigator")
@Bean
@RefreshScope
public AuthenticationRiskMitigator authenticationRiskMitigator() {
    if (casProperties.getAuthn().getAdaptive().getRisk().getResponse().isBlockAttempt()) {
        return new DefaultAuthenticationRiskMitigator(blockAuthenticationContingencyPlan());
    }
    return new DefaultAuthenticationRiskMitigator(multifactorAuthenticationContingencyPlan());
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号