diff options
author | Ade Lee <alee@redhat.com> | 2012-01-11 12:57:53 -0500 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-01-11 13:49:04 -0500 |
commit | 10cfe7756e967ac91c66d33b392aeab9cf3780fb (patch) | |
tree | d5ac9b58442265d2ce5ef60e31f041ddacba1b4f /pki/base/common/src/com/netscape/certsrv/authentication/AuthCredentials.java | |
parent | edcb24f65cc3700e75d0a1d14dc2483f210b0ee4 (diff) | |
download | pki-10cfe7756e967ac91c66d33b392aeab9cf3780fb.tar.gz pki-10cfe7756e967ac91c66d33b392aeab9cf3780fb.tar.xz pki-10cfe7756e967ac91c66d33b392aeab9cf3780fb.zip |
Formatting (no line wrap in comments or code)
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/authentication/AuthCredentials.java')
-rw-r--r-- | pki/base/common/src/com/netscape/certsrv/authentication/AuthCredentials.java | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/authentication/AuthCredentials.java b/pki/base/common/src/com/netscape/certsrv/authentication/AuthCredentials.java index de124a38c..1475683eb 100644 --- a/pki/base/common/src/com/netscape/certsrv/authentication/AuthCredentials.java +++ b/pki/base/common/src/com/netscape/certsrv/authentication/AuthCredentials.java @@ -23,10 +23,10 @@ import java.util.Hashtable; import com.netscape.certsrv.base.IArgBlock; /** - * Authentication Credentials as input to the authMgr. It contains all the + * Authentication Credentials as input to the authMgr. It contains all the * information required for authentication in the authMgr. * <P> - * + * * @version $Revision$, $Date$ */ public class AuthCredentials implements IAuthCredentials { @@ -34,7 +34,7 @@ public class AuthCredentials implements IAuthCredentials { private static final long serialVersionUID = 5862936214648594328L; private Hashtable<String, Object> authCreds = null; private IArgBlock argblk = null; - + /** * Constructor */ @@ -44,6 +44,7 @@ public class AuthCredentials implements IAuthCredentials { /** * Sets an authentication credential with credential name and the credential object + * * @param name credential name * @param cred credential object */ @@ -54,7 +55,8 @@ public class AuthCredentials implements IAuthCredentials { /** * Returns the credential to which the specified name is mapped in this - * credential set + * credential set + * * @param name credential name * @return the authentication credential for the given name */ @@ -64,8 +66,9 @@ public class AuthCredentials implements IAuthCredentials { /** * Removes the name and its corresponding credential from this - * credential set. This method does nothing if the named - * credential is not in the credential set. + * credential set. This method does nothing if the named + * credential is not in the credential set. + * * @param name credential name */ public void delete(String name) { @@ -76,26 +79,27 @@ public class AuthCredentials implements IAuthCredentials { * Returns an enumeration of the credentials in this credential * set. Use the Enumeration methods on the returned object to * fetch the elements sequentially. + * * @return an enumeration of the values in this credential set */ public Enumeration<Object> getElements() { return (authCreds.elements()); } - + /** * Set the given argblock -i * @param blk the given argblock. + * i * @param blk the given argblock. */ public void setArgBlock(IArgBlock blk) { argblk = blk; - } + } /** * Returns the argblock. + * * @return the argblock. */ public IArgBlock getArgBlock() { return argblk; - } + } } - |