public class AuthCredentials extends java.lang.Object implements IAuthCredentials
Constructor and Description |
---|
AuthCredentials() |
Modifier and Type | Method and 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 set
|
IArgBlock |
getArgBlock()
Returns argblock.
|
java.util.Enumeration |
getElements()
returns an enumeration of the credentials in this credential
set.
|
void |
set(java.lang.String name,
java.lang.Object cred)
sets a credential with credential name and the credential
|
void |
setArgBlock(IArgBlock blk)
Set argblock.
|
public void set(java.lang.String name, java.lang.Object cred) throws EBaseException
set
in interface IAttrSet
name
- credential namecred
- credentialEBaseException
- NullPointerExceptionpublic java.lang.Object get(java.lang.String name)
public void delete(java.lang.String name)
public java.util.Enumeration getElements()
getElements
in interface IAttrSet
Enumeration
public void setArgBlock(IArgBlock blk)
IAuthCredentials
setArgBlock
in interface IAuthCredentials
blk
- argblockpublic IArgBlock getArgBlock()
IAuthCredentials
getArgBlock
in interface IAuthCredentials