summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/password
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2011-12-07 16:58:12 -0500
committerAde Lee <alee@redhat.com>2011-12-07 16:58:12 -0500
commit32150d3ee32f8ac27118af7c792794b538c78a2f (patch)
tree52dd96f664a6fa51be25b28b6f10adc5f2c9f660 /pki/base/common/src/com/netscape/certsrv/password
parentf05d58a46795553beb8881039cc922974b40db34 (diff)
downloadpki-32150d3ee32f8ac27118af7c792794b538c78a2f.tar.gz
pki-32150d3ee32f8ac27118af7c792794b538c78a2f.tar.xz
pki-32150d3ee32f8ac27118af7c792794b538c78a2f.zip
Formatting
Formatted project according to eclipse project settings
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/password')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/password/EPasswordCheckException.java10
-rw-r--r--pki/base/common/src/com/netscape/certsrv/password/IConfigPasswordCheck.java7
-rw-r--r--pki/base/common/src/com/netscape/certsrv/password/IPasswordCheck.java7
3 files changed, 16 insertions, 8 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/password/EPasswordCheckException.java b/pki/base/common/src/com/netscape/certsrv/password/EPasswordCheckException.java
index a99fd764..65bef607 100644
--- a/pki/base/common/src/com/netscape/certsrv/password/EPasswordCheckException.java
+++ b/pki/base/common/src/com/netscape/certsrv/password/EPasswordCheckException.java
@@ -23,7 +23,7 @@ import com.netscape.certsrv.base.PasswordResources;
/**
* A class represents a password checker exception.
* <P>
- *
+ *
* @version $Revision$, $Date$
*/
public class EPasswordCheckException extends EBaseException {
@@ -35,11 +35,13 @@ public class EPasswordCheckException extends EBaseException {
/**
* Resource class name.
*/
- private static final String PASSWORD_CHECK_RESOURCES = PasswordResources.class.getName();
+ private static final String PASSWORD_CHECK_RESOURCES = PasswordResources.class
+ .getName();
/**
* Constructs a password checker exception
* <P>
+ *
* @param msgFormat exception details
*/
public EPasswordCheckException(String msgFormat) {
@@ -49,6 +51,7 @@ public class EPasswordCheckException extends EBaseException {
/**
* Constructs a password checker exception.
* <P>
+ *
* @param msgFormat exception details in message string format
* @param param message string parameter
*/
@@ -59,6 +62,7 @@ public class EPasswordCheckException extends EBaseException {
/**
* Constructs a password checker exception.
* <P>
+ *
* @param msgFormat exception details in message string format
* @param exception system exception
*/
@@ -69,6 +73,7 @@ public class EPasswordCheckException extends EBaseException {
/**
* Constructs a password checker exception.
* <P>
+ *
* @param msgFormat the message format.
* @param params list of message format parameters
*/
@@ -78,6 +83,7 @@ public class EPasswordCheckException extends EBaseException {
/**
* Retrieves bundle name.
+ *
* @return resource bundle name.
*/
protected String getBundleName() {
diff --git a/pki/base/common/src/com/netscape/certsrv/password/IConfigPasswordCheck.java b/pki/base/common/src/com/netscape/certsrv/password/IConfigPasswordCheck.java
index ddf4325c..3abe5f21 100644
--- a/pki/base/common/src/com/netscape/certsrv/password/IConfigPasswordCheck.java
+++ b/pki/base/common/src/com/netscape/certsrv/password/IConfigPasswordCheck.java
@@ -17,7 +17,6 @@
// --- END COPYRIGHT BLOCK ---
package com.netscape.certsrv.password;
-
/**
* Configuration Wizard Password quality checker interface.
* <P>
@@ -28,16 +27,18 @@ public interface IConfigPasswordCheck {
/**
* Check if the password meets the quality requirement
+ *
* @param pwd the given password
- * @return true if the password meets the quality requirement; otherwise false
+ * @return true if the password meets the quality requirement; otherwise
+ * false
*/
public boolean isGoodConfigPassword(String pwd);
/**
* Returns a reason if the password doesnt meet the quality requirement.
+ *
* @param pwd the given password
* @return a reason if the password quality requirement is not met.
*/
public String getConfigReason(String pwd);
}
-
diff --git a/pki/base/common/src/com/netscape/certsrv/password/IPasswordCheck.java b/pki/base/common/src/com/netscape/certsrv/password/IPasswordCheck.java
index bb84a72f..3c1530fb 100644
--- a/pki/base/common/src/com/netscape/certsrv/password/IPasswordCheck.java
+++ b/pki/base/common/src/com/netscape/certsrv/password/IPasswordCheck.java
@@ -17,7 +17,6 @@
// --- END COPYRIGHT BLOCK ---
package com.netscape.certsrv.password;
-
/**
* Password quality checker interface.
* <P>
@@ -28,16 +27,18 @@ public interface IPasswordCheck {
/**
* Check if the password meets the quality requirement
+ *
* @param pwd the given password
- * @return true if the password meets the quality requirement; otherwise false
+ * @return true if the password meets the quality requirement; otherwise
+ * false
*/
public boolean isGoodPassword(String pwd);
/**
* Returns a reason if the password doesnt meet the quality requirement.
+ *
* @param pwd the given password
* @return a reason if the password quality requirement is not met.
*/
public String getReason(String pwd);
}
-