|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.util.AccountManager
public class AccountManager
This class is used to provide authentication of access controlled CDM datasets.
| Field Summary |
|---|
| Fields inherited from interface org.apache.commons.httpclient.auth.CredentialsProvider |
|---|
PROVIDER |
| Constructor Summary | |
|---|---|
AccountManager(File stateDir)
constructor |
|
| Method Summary | |
|---|---|
void |
clear()
_more_ |
org.apache.commons.httpclient.Credentials |
getCredentials(org.apache.commons.httpclient.auth.AuthScheme authscope,
String host,
int port,
boolean isproxy)
Do the authentication |
org.apache.commons.httpclient.Credentials |
getCredentialsnew(org.apache.commons.httpclient.auth.AuthScope scope)
_more_ |
static AccountManager |
getGlobalAccountManager()
Get the account manager |
protected Hashtable<String,UserInfo> |
getTable()
_more_ |
UserInfo |
getUserNamePassword(String key,
String label)
_more_ |
void |
setCredentials(org.apache.commons.httpclient.auth.AuthScheme scope,
String host,
int port,
boolean isproxy)
_more_ |
static void |
setGlobalAccountManager(AccountManager manager)
Set te global account manager. |
protected void |
writeTable()
_more_ |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccountManager(File stateDir)
stateDir - The directory to read/write state to| Method Detail |
|---|
public void clear()
public static AccountManager getGlobalAccountManager()
public static void setGlobalAccountManager(AccountManager manager)
manager - Instance of the global account manager
public void setCredentials(org.apache.commons.httpclient.auth.AuthScheme scope,
String host,
int port,
boolean isproxy)
scope - _more_host - port - isproxy -
public org.apache.commons.httpclient.Credentials getCredentials(org.apache.commons.httpclient.auth.AuthScheme authscope,
String host,
int port,
boolean isproxy)
getCredentials in interface org.apache.commons.httpclient.auth.CredentialsProviderauthscope - authscope
public org.apache.commons.httpclient.Credentials getCredentialsnew(org.apache.commons.httpclient.auth.AuthScope scope)
scope - _more_
public UserInfo getUserNamePassword(String key,
String label)
getUserNamePassword in interface IOUtil.UserAccountManagerkey - _more_label - _more_
protected void writeTable()
protected Hashtable<String,UserInfo> getTable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||