CAS:密码未传输到 LDAP

CAS: Password is not transmitted to LDAP

我有一个 OpenLDAP 服务器,我非常确定用户本身是错误的,因为我可以使用 JXplorer 与他们一起登录。但是当我去 CAS 并输入用户名和密码时,我只在 "Supplied credentials" 中看到用户名,而没有看到密码。当我将 deployerConfigContext.xml 更改为 "newer" 时出现此问题。

2016-09-15 11:45:33,747 INFO [org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - <LdapAuthenticationHandler failed authenticating anon>
2016-09-15 11:45:33,747 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: anon
WHAT: Supplied credentials: [anon]
ACTION: AUTHENTICATION_FAILED
APPLICATION: CAS
WHEN: Thu Sep 15 11:45:33 CEST 2016
CLIENT IP ADDRESS: 0:0:0:0:0:0:0:1
SERVER IP ADDRESS: 0:0:0:0:0:0:0:1
=============================================================

I just see the username in "Supplied credentials" and not the password too

您永远不会看到密码。

将您的日志上传到 DEBUG,这应该会告诉您更多信息。