Package com.netscape.cms.servlet.admin
Class AuthCredentials
- java.lang.Object
-
- com.netscape.cms.servlet.admin.AuthCredentials
-
- All Implemented Interfaces:
com.netscape.certsrv.authentication.IAuthCredentials
,IAttrSet
,java.io.Serializable
public class AuthCredentials extends java.lang.Object implements com.netscape.certsrv.authentication.IAuthCredentials
Authentication Credentials as input to the authMgr- Version:
- $Revision$, $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthCredentials()
-
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 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 a credential with credential name and the credentialvoid
setArgBlock(IArgBlock blk)
Set argblock.
-
-
-
Method Detail
-
set
public void set(java.lang.String name, java.lang.Object cred) throws EBaseException
sets a credential with credential name and the credential- Specified by:
set
in interfaceIAttrSet
- Parameters:
name
- credential namecred
- credential- Throws:
EBaseException
- NullPointerException
-
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
- See Also:
Enumeration
-
setArgBlock
public void setArgBlock(IArgBlock blk)
Description copied from interface:com.netscape.certsrv.authentication.IAuthCredentials
Set argblock.- Specified by:
setArgBlock
in interfacecom.netscape.certsrv.authentication.IAuthCredentials
- Parameters:
blk
- argblock
-
getArgBlock
public IArgBlock getArgBlock()
Description copied from interface:com.netscape.certsrv.authentication.IAuthCredentials
Returns argblock.- Specified by:
getArgBlock
in interfacecom.netscape.certsrv.authentication.IAuthCredentials
- Returns:
- Argblock.
-
-