|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.net.Authenticator com.isti.util.UrlAuthenticator
public class UrlAuthenticator
URL Authenticator
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.net.Authenticator |
---|
java.net.Authenticator.RequestorType |
Constructor Summary | |
---|---|
UrlAuthenticator(PasswordAuthenticator passwordAuthenticator)
Create the URL authenticator. |
Method Summary | |
---|---|
java.net.PasswordAuthentication |
getPasswordAuthentication()
Called when when a password-protected URL is accessed. |
static void |
setDefaultAuthenticator(java.net.Authenticator authenticator)
Set the default authenticator. |
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 UrlAuthenticator(PasswordAuthenticator passwordAuthenticator)
passwordAuthenticator
- the password authenticator.Method Detail |
---|
public java.net.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in interface PasswordAuthenticator
getPasswordAuthentication
in class java.net.Authenticator
public static void setDefaultAuthenticator(java.net.Authenticator authenticator)
authenticator
- the authenticator.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |