Class AuthCredentials
- java.lang.Object
-
- com.netscape.certsrv.authentication.AuthCredentials
-
- All Implemented Interfaces:
IAuthCredentials
,IAttrSet
,java.io.Serializable
public class AuthCredentials extends java.lang.Object implements IAuthCredentials
Authentication Credentials as input to the authMgr. It contains all the information required for authentication in the authMgr.- Version:
- $Revision$, $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthCredentials()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(java.lang.String name)
Removes the name and its corresponding credential from this credential set.java.lang.Object
get(java.lang.String name)
Returns the credential to which the specified name is mapped in this credential setIArgBlock
getArgBlock()
Returns the argblock.java.util.Enumeration<java.lang.String>
getElements()
Returns an enumeration of the credential names in this credential set.void
set(java.lang.String name, java.lang.Object cred)
Sets an authentication credential with credential name and the credential objectvoid
setArgBlock(IArgBlock blk)
Set the given argblock i * @param blk the given argblock.
-
-
-
Method Detail
-
set
public void set(java.lang.String name, java.lang.Object cred)
Sets an authentication credential with credential name and the credential object
-
get
public java.lang.Object get(java.lang.String name)
Returns the credential to which the specified name is mapped in this credential set
-
delete
public void delete(java.lang.String name)
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
public java.util.Enumeration<java.lang.String> 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
public void setArgBlock(IArgBlock blk)
Set the given argblock i * @param blk the given argblock.- Specified by:
setArgBlock
in interfaceIAuthCredentials
- Parameters:
blk
- argblock
-
getArgBlock
public IArgBlock getArgBlock()
Returns the argblock.- Specified by:
getArgBlock
in interfaceIAuthCredentials
- Returns:
- the argblock.
-
-