|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.Authenticator
prefuse.util.io.PasswordAuthenticator
public class PasswordAuthenticator
A basic username/password authenticator for use with HTTP-Auth. The username or password can be reset for subsequent use as a different user or on a different website.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.net.Authenticator |
|---|
java.net.Authenticator.RequestorType |
| Method Summary | |
|---|---|
protected java.net.PasswordAuthentication |
getPasswordAuthentication()
Get the singleton PasswordAuthentication instance. |
static void |
setAuthentication(java.lang.String username,
java.lang.String password)
Creates a new PasswordAuthenticator for the given name and password and sets it as the default Authenticator for use within Java networking. |
| 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 |
| Method Detail |
|---|
protected java.net.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class java.net.Authenticator
public static void setAuthentication(java.lang.String username,
java.lang.String password)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||