Class AuthCredentials
java.lang.Object
com.netscape.certsrv.authentication.AuthCredentials
- All Implemented Interfaces:
IAuthCredentials
,IAttrSet
,Serializable
Authentication Credentials as input to the authMgr. It contains all the
information required for authentication in the authMgr.
- Version:
- $Revision$, $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Removes the name and its corresponding credential from this credential set.Returns the credential to which the specified name is mapped in this credential setReturns the argblock.Returns an enumeration of the credential names in this credential set.void
Sets an authentication credential with credential name and the credential objectvoid
setArgBlock
(IArgBlock blk) Set the given argblock i * @param blk the given argblock.
-
Constructor Details
-
AuthCredentials
public AuthCredentials()Constructor
-
-
Method Details
-
set
Sets an authentication credential with credential name and the credential object -
get
Returns the credential to which the specified name is mapped in this credential set -
delete
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. -
getElements
Returns an enumeration of the credential names in this credential set. Use the Enumeration methods on the returned object to fetch the elements sequentially.- Specified by:
getElements
in interfaceIAttrSet
- Returns:
- an enumeration of the names in this credential set
-
setArgBlock
Set the given argblock i * @param blk the given argblock.- Specified by:
setArgBlock
in interfaceIAuthCredentials
- Parameters:
blk
- argblock
-
getArgBlock
Returns the argblock.- Specified by:
getArgBlock
in interfaceIAuthCredentials
- Returns:
- the argblock.
-