CAS 6.6 - RADIUS MFA 集成

问题描述 投票:0回答:1

我正在尝试通过 RADIUS 集成 CAS 6.6 以进行第一因素和第二因素身份验证。

即使输入正确的 OTP 后,我仍收到以下消息,并在 UI OTP 页面中显示以下消息。

凭证被拒绝/无效并且身份验证尝试失败。

2023-11-24 00:36:51,382 警告 [org.apereo.cas.authentication.policy.AllAuthenticationHandlersSucceededAuthenticationPolicy] - 2023-11-24 00:36:51,382 警告 [org.apereo.cas.authentication.policy.AllAuthenticationHandlersSucceededAuthenticationPolicy] - 2023-11-24 00:36:51,383 错误 [org.apereo.cas.authentication.DefaultAuthenticationManager] - <[AuthenticationException]: [Unable to satisfy authentication policy AllAuthenticationHandlersSucceededAuthenticationPolicy]> 2023-11-24 00:36:51,384 信息 [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] -

以下是我的配置:

`cas.authn.accept.enabled=false
cas.authn.policy.all-handlers.enabled=true
cas.authn.policy.all.enabled=true
cas.authn.radius.client.inet-address=x.x.x.x
cas.authn.radius.client.shared-secret=1234567890
cas.authn.radius.client.socket-timeout=30
cas.authn.radius.server.protocol=PAP
cas.authn.radius.server.retries=1

cas.authn.mfa.radius.server.protocol=PAP
cas.authn.mfa.radius.client.shared-secret=1234567890
cas.authn.mfa.radius.client.inet-address=x.x.x.x
cas.authn.mfa.radius.allowed-authentication-attempts=10
cas.authn.mfa.radius.id=mfa-radius
cas.authn.mfa.triggers.global.globalProviderId=mfa-radius


cas.service-registry.core.init-from-json=false
cas.service-registry.json.location=file:C:\etc\cas\services`

我期待它能够成功完成身份验证

cas multi-factor-authentication radius apereo
1个回答
0
投票

必须进行以下更改才能在我的 RADIUS 服务器中工作。

  1. 删除了 cas.authn.policy.all-handlers.enabled=true 参数
  2. OTP错误时返回Access_Reject而不是Access_Challenge
© www.soinside.com 2019 - 2024. All rights reserved.