mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
21.30.2006 e5a62ca3ff418df74ffe0480946e9255bffdc1a5
Update the LDAPAuthenticationHandler to enquote the realm value for DIGEST-MD5
authentication. If it is not quoted, then it will cause authentication
failures if the server sends a realm that is a DN with multiple components
(e.g., "dc=example,dc=com").

OpenDS Issue Number: 692
1 files modified
3 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java 3 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java
@@ -1784,8 +1784,9 @@
    if (realm != null)
    {
      credBuffer.append(",realm=");
      credBuffer.append(",realm=\"");
      credBuffer.append(realm);
      credBuffer.append("\"");
    }
    credBuffer.append(",nonce=\"");