|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectauthorization.HostCredentials
public class HostCredentials
Map client user name to host credentials for that client.
This class implements the
IHostCredentialMap
interface. It uses an in-memory map from client user names to
host user credentials.
Field Summary | |
---|---|
private java.util.HashMap |
credentials
Map from Verastream client user name to host credentials. |
Constructor Summary | |
---|---|
HostCredentials()
Default constructor. |
Method Summary | |
---|---|
void |
addHostCredential(java.lang.String vhiUser,
IHostCredential credential)
Add a new set of host credentials for a client (Verastream) user. |
IHostCredential |
getHostCredentialsFor(java.lang.String vhiUser)
Return the host credentials for a client (Verastream) user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.HashMap credentials
Constructor Detail |
---|
public HostCredentials()
Method Detail |
---|
public void addHostCredential(java.lang.String vhiUser, IHostCredential credential) throws java.lang.IllegalArgumentException
vhiUser
- name of Verastream usercredential
- host credential for this user
java.lang.IllegalArgumentException
public IHostCredential getHostCredentialsFor(java.lang.String vhiUser)
getHostCredentialsFor
in interface IHostCredentialMap
vhiUser
- name used to login to Verastream server
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |