|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.Authenticator
nz.ac.waikato.mcennis.rat.crawler.Authenticator
public class Authenticator
Authenticator used to go through HTTP proxies.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.net.Authenticator |
|---|
java.net.Authenticator.RequestorType |
| Constructor Summary | |
|---|---|
Authenticator()
|
|
| Method Summary | |
|---|---|
static void |
getPassword()
Acquires a password for this object through System.in |
protected java.net.PasswordAuthentication |
getPasswordAuthentication()
protected method that creates the authenticator used by java.net objects |
static void |
setPassword(java.lang.String p)
Set the password to be the given string |
static void |
setUser(java.lang.String p)
Set the username for the proxy to the given string |
| Methods inherited from class java.net.Authenticator |
|---|
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Authenticator()
| Method Detail |
|---|
public static void getPassword()
public static void setPassword(java.lang.String p)
p - password to be setpublic static void setUser(java.lang.String p)
p - username of proxyprotected java.net.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class java.net.Authenticator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||