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

kenneth_suter
15.34.2007 80c58327faaa4873369f6bb949e62792c2f708e0
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/TestPasswordValidator.java
@@ -37,7 +37,8 @@
import org.opends.server.types.Entry;
import org.opends.server.types.InitializationException;
import org.opends.server.types.Operation;
import org.opends.messages.MessageBuilder;
import org.opends.messages.Message;
/**
@@ -102,8 +103,8 @@
    }
    else
    {
      throw new InitializationException(1,
           "Cannot configure more than one TestPasswordValidator instance");
      throw new InitializationException(Message.raw(
           "Cannot configure more than one TestPasswordValidator instance"));
    }
    lastNewPassword      = null;
@@ -123,7 +124,7 @@
  public boolean passwordIsAcceptable(ByteString newPassword,
                                      Set<ByteString> currentPasswords,
                                      Operation operation, Entry userEntry,
                                      StringBuilder invalidReason)
                                      MessageBuilder invalidReason)
  {
    lastNewPassword      = newPassword;
    lastCurrentPasswords = currentPasswords;