summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cms/authentication/FlatFileAuth.java
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-04-05 14:49:11 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-04-09 10:03:25 -0500
commit7c7b9d023cd466c1771068badc020dab36beb553 (patch)
tree178877eb83e25336be7577953945fbdb0b9e1a15 /base/common/src/com/netscape/cms/authentication/FlatFileAuth.java
parentda1e6e2f49f66fd46c8039ff1aa4386309fba8f4 (diff)
downloadpki-7c7b9d023cd466c1771068badc020dab36beb553.tar.gz
pki-7c7b9d023cd466c1771068badc020dab36beb553.tar.xz
pki-7c7b9d023cd466c1771068badc020dab36beb553.zip
Removed whitespaces from Java code.
Whitespaces in Java code have been removed with the following command: find . -not -path .git -name *.java -exec sed -i 's/[[:blank:]]\+$//' {} \; Ticket #134
Diffstat (limited to 'base/common/src/com/netscape/cms/authentication/FlatFileAuth.java')
-rw-r--r--base/common/src/com/netscape/cms/authentication/FlatFileAuth.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/base/common/src/com/netscape/cms/authentication/FlatFileAuth.java b/base/common/src/com/netscape/cms/authentication/FlatFileAuth.java
index f60110b0b..2394ede4c 100644
--- a/base/common/src/com/netscape/cms/authentication/FlatFileAuth.java
+++ b/base/common/src/com/netscape/cms/authentication/FlatFileAuth.java
@@ -51,7 +51,7 @@ import com.netscape.certsrv.request.IRequest;
/**
* This represents the authentication manager that authenticates
* user against a file where id, and password are stored.
- *
+ *
* @version $Revision$, $Date$
*/
public class FlatFileAuth
@@ -110,7 +110,7 @@ public class FlatFileAuth
/**
* This array is created as to include all the requested attributes
- *
+ *
*/
String[] reqCreds = null;
@@ -127,7 +127,7 @@ public class FlatFileAuth
* Get the named property
* If the property is not set, use s as the default, and create
* a new value for the property in the config file.
- *
+ *
* @param propertyName Property name
* @param s The default value of the property
*/
@@ -152,7 +152,7 @@ public class FlatFileAuth
* Get the named property,
* If the property is not set, use b as the default, and create
* a new value for the property in the config file.
- *
+ *
* @param propertyName Property name
* @param b The default value of the property
*/
@@ -220,7 +220,7 @@ public class FlatFileAuth
/**
* Log a message.
- *
+ *
* @param level The logging level.
* @param msg The message to log.
*/
@@ -398,7 +398,7 @@ public class FlatFileAuth
/**
* Read a file with the following format:
* <p>
- *
+ *
* <pre>
* param1: valuea
* param2: valueb
@@ -406,7 +406,7 @@ public class FlatFileAuth
* param1: valuec
* param2: valued
* </pre>
- *
+ *
* @param f The file to read
* @param keys The parameters to concat together to form the hash
* key
@@ -506,7 +506,7 @@ public class FlatFileAuth
/**
* Compare attributes provided by the user with those in
* in flat file.
- *
+ *
*/
private IAuthToken doAuthentication(Hashtable<String, String> user, IAuthCredentials authCred)
@@ -543,7 +543,7 @@ public class FlatFileAuth
/**
* Authenticate the request
- *
+ *
*/
public IAuthToken authenticate(IAuthCredentials authCred)
throws EMissingCredential, EInvalidCredentials, EBaseException {
@@ -586,7 +586,7 @@ public class FlatFileAuth
}
}
- // if a dn was specified in the password file for this user,
+ // if a dn was specified in the password file for this user,
// replace the requested dn with the one in the pwfile
if (user != null) {
String dn = (String) user.get("dn");
@@ -610,7 +610,7 @@ public class FlatFileAuth
/**
* Return a list of HTTP parameters which will be taken from the
* request posting and placed into the AuthCredentials block
- *
+ *
* Note that this method will not be called until after the
* init() method is called
*/