You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DigestMd5DirContextAuthenticationStrategy authenticates using the SASL DIGEST-MD5 mechanism. RFC 6331 moved DIGEST-MD5 to historic and IANA marked it obsolete, citing the weak MD5 hash and the lack of channel binding. The mechanism also requires the server to hold the user's password in a form it can compute the digest from, which rules out salted one-way password hashes.
Please:
Deprecate DigestMd5DirContextAuthenticationStrategy, with Javadoc that cites RFC 6331 and points to simple bind over TLS (DefaultTlsDirContextAuthenticationStrategy or an ldaps:// URL) as the replacement. Removal is out of scope for this issue.
The reference documentation that covers DIGEST-MD5 will move or change with the deprecation, so the sample is the intended replacement for it.
SASL mechanisms such as SCRAM and GSSAPI are not in scope. The JDK has no SCRAM client, and a Kerberos exploration is tracked in spring-projects/spring-ldap-samples#13. We can revisit generic SASL support if there is demand for it.
Activity