diff options
author | Ade Lee <alee@redhat.com> | 2011-12-08 21:15:59 -0500 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2011-12-08 21:15:59 -0500 |
commit | 171aaece4f23709d33d180cf36eb3af5e454b0c9 (patch) | |
tree | 1485f9f0a7bd10de4ff25030db575dbb8dafae74 /pki/base/common/src/com/netscape/cms/password/PasswordChecker.java | |
parent | adad2fcee8a29fdb82376fbce07dedb11fccc182 (diff) | |
download | pki-171aaece4f23709d33d180cf36eb3af5e454b0c9.tar.gz pki-171aaece4f23709d33d180cf36eb3af5e454b0c9.tar.xz pki-171aaece4f23709d33d180cf36eb3af5e454b0c9.zip |
Revert "Formatting"
This reverts commit 32150d3ee32f8ac27118af7c792794b538c78a2f.
Diffstat (limited to 'pki/base/common/src/com/netscape/cms/password/PasswordChecker.java')
-rw-r--r-- | pki/base/common/src/com/netscape/cms/password/PasswordChecker.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pki/base/common/src/com/netscape/cms/password/PasswordChecker.java b/pki/base/common/src/com/netscape/cms/password/PasswordChecker.java index 2bdf4066..4d59f34e 100644 --- a/pki/base/common/src/com/netscape/cms/password/PasswordChecker.java +++ b/pki/base/common/src/com/netscape/cms/password/PasswordChecker.java @@ -17,15 +17,17 @@ // --- END COPYRIGHT BLOCK --- package com.netscape.cms.password; + import com.netscape.certsrv.apps.CMS; import com.netscape.certsrv.password.EPasswordCheckException; import com.netscape.certsrv.password.IConfigPasswordCheck; import com.netscape.certsrv.password.IPasswordCheck; + /** * This class checks the given password if it meets the specific requirements. - * For example, it can also specify the format of the password which has to be 8 - * characters long and must be in alphanumeric. + * For example, it can also specify the format of the password which has to + * be 8 characters long and must be in alphanumeric. * <P> * * @version $Revision$, $Date$ @@ -73,10 +75,9 @@ public class PasswordChecker implements IPasswordCheck, IConfigPasswordCheck { /** * Returns true if the given password meets the quality requirement; * otherwise returns false. - * * @param mPassword The given password being checked. * @return true if the password meets the quality requirement; otherwise - * returns false. + * returns false. */ public boolean isGoodPassword(String mPassword) { if (mPassword == null || mPassword.length() == 0) { @@ -95,9 +96,7 @@ public class PasswordChecker implements IPasswordCheck, IConfigPasswordCheck { /** * Returns a reason if the password doesnt meet the quality requirement. - * - * @return string as a reason if the password quality requirement is not - * met. + * @return string as a reason if the password quality requirement is not met. */ public String getReason(String mPassword) { if (mPassword == null || mPassword.length() == 0) { @@ -114,3 +113,4 @@ public class PasswordChecker implements IPasswordCheck, IConfigPasswordCheck { return null; } } + |