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

neil_a_wilson
10.42.2007 e53fad03353a2e7e4078c27029e55489669bb23c
Fix a bug in the DIGEST-MD5 SASL mechanism handler that could cause a null
pointer exception if the configuration of the handler was changed with the
server online and that change did not update the identity mapper.

OpenDS Issue Number: 1138
1 files modified
2 ■■■ changed files
opends/src/server/org/opends/server/extensions/DigestMD5SASLMechanismHandler.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/extensions/DigestMD5SASLMechanismHandler.java
@@ -1728,7 +1728,7 @@
    // If everything has been successful, then apply any changes that were made.
    if (resultCode == ResultCode.SUCCESS)
    {
      if ((newIdentityMapperDN != null) && (identityMapper != null))
      if ((newIdentityMapperDN != null) && (newIdentityMapper != null))
      {
        identityMapperDN = newIdentityMapperDN;
        identityMapper   = newIdentityMapper;