From 4816f71f71b36101a09cdf3afd87515eb3e34dab Mon Sep 17 00:00:00 2001
From: Nemanja Lukic <nemanja.lukic@forgerock.com>
Date: Thu, 03 Nov 2011 14:19:50 +0000
Subject: [PATCH] Follow-up to the OPENDJ-295 patch: fixed the checkstyle errors and added the missing properties file.
---
opendj-sdk/opends/src/server/org/opends/server/extensions/DictionaryPasswordValidator.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/extensions/DictionaryPasswordValidator.java b/opendj-sdk/opends/src/server/org/opends/server/extensions/DictionaryPasswordValidator.java
index c85bc72..594ad69 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/extensions/DictionaryPasswordValidator.java
+++ b/opendj-sdk/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;
}
--
Gitblit v1.10.0