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

Jean-Noël Rouvignac
29.51.2015 4baece95779dd46a3a59d59d1b7aa5958cf6117d
opendj-server-legacy/src/main/java/org/opends/server/extensions/PlainSASLMechanismHandler.java
@@ -443,7 +443,7 @@
        return;
      }
      if (!authState.passwordMatches(ByteString.valueOf(password)))
      if (!authState.passwordMatches(ByteString.valueOfUtf8(password)))
      {
        bindOperation.setResultCode(ResultCode.INVALID_CREDENTIALS);
        LocalizableMessage message = ERR_SASLPLAIN_INVALID_PASSWORD.get();