|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.Authenticator
com.sun.slamd.parameter.FileURLAuthenticator
This class defines a very simple authenticator that will be used by the FileURL parameter type in order to access resources that require authentication.
| Constructor Summary | |
FileURLAuthenticator(java.lang.String authID,
java.lang.String authPassword)
Creates a new file URL authenticator that will use the provided ID and password. |
|
| Method Summary | |
protected java.net.PasswordAuthentication |
getPasswordAuthentication()
Retrieves the information needed to authenticate to a protected resource. |
| Methods inherited from class java.net.Authenticator |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, requestPasswordAuthentication, requestPasswordAuthentication, setDefault |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileURLAuthenticator(java.lang.String authID,
java.lang.String authPassword)
authID - The user ID to use in the authentication process.authPassword - The password to use in the authentication process.| Method Detail |
protected java.net.PasswordAuthentication getPasswordAuthentication()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||