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
| | |
| | | // 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; |