org.browsecode.helpers.html
Class MyAuthenticator

java.lang.Object
  extended by java.net.Authenticator
      extended by org.browsecode.helpers.html.MyAuthenticator

public class MyAuthenticator
extends java.net.Authenticator


Nested Class Summary
 
Nested classes/interfaces inherited from class java.net.Authenticator
java.net.Authenticator.RequestorType
 
Constructor Summary
MyAuthenticator(java.lang.String user, java.lang.String password)
           
 
Method Summary
protected  java.net.PasswordAuthentication getPasswordAuthentication()
           
 
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

MyAuthenticator

public MyAuthenticator(java.lang.String user,
                       java.lang.String password)
Method Detail

getPasswordAuthentication

protected java.net.PasswordAuthentication getPasswordAuthentication()
Overrides:
getPasswordAuthentication in class java.net.Authenticator