Package com.netscape.cms.servlet.common
Class AuthCredentials
java.lang.Object
com.netscape.cms.servlet.common.AuthCredentials
- All Implemented Interfaces:
IAuthCredentials
,IAttrSet
,Serializable
Authentication Credentials as input to 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 argblock.returns an enumeration of the credential names in this credential set.void
sets a credential with credential name and the credentialvoid
setArgBlock
(IArgBlock blk) Set argblock.
-
Constructor Details
-
AuthCredentials
public AuthCredentials()
-
-
Method Details
-
set
sets a credential with credential name and the credential- Specified by:
set
in interfaceIAttrSet
- Parameters:
name
- credential namecred
- credential- Throws:
EBaseException
- NullPointerExceptionEAuthException
-
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
- See Also:
-
setArgBlock
Description copied from interface:IAuthCredentials
Set argblock.- Specified by:
setArgBlock
in interfaceIAuthCredentials
- Parameters:
blk
- argblock
-
getArgBlock
Description copied from interface:IAuthCredentials
Returns argblock.- Specified by:
getArgBlock
in interfaceIAuthCredentials
- Returns:
- Argblock.
-