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

Nemanja Lukic
03.19.2011 355380570585a18ce313739f85a89224779c03a7
opends/src/server/org/opends/server/extensions/DictionaryPasswordValidator.java
@@ -125,7 +125,7 @@
  {
    // Get a handle to the current configuration.
    DictionaryPasswordValidatorCfg config = currentConfig;
    // Check to see if the provided password is in the dictionary in the order
    // that it was provided.
    String password = newPassword.toString();
@@ -148,7 +148,7 @@
        minSubstringLength = config.getMinSubstringLength();
      }
    }
    // Verify if the dictionary contains the word(s) in the password
    if (isDictionaryBased(password, minSubstringLength))
    {
@@ -156,7 +156,7 @@
        ERR_DICTIONARY_VALIDATOR_PASSWORD_IN_DICTIONARY.get());
      return false;
    }
    // If the reverse password checking is enabled, then verify if the
    // reverse value of the password is in the dictionary.
    if (config.isTestReversedPassword())
@@ -170,7 +170,7 @@
      }
    }
    // If we've gotten here, then the password is acceptable.
    return true;
  }