org.opensha.commons.util.http
Class StaticPasswordAuthenticator

java.lang.Object
  extended by java.net.Authenticator
      extended by org.opensha.commons.util.http.StaticPasswordAuthenticator

public class StaticPasswordAuthenticator
extends Authenticator


Nested Class Summary
 
Nested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType
 
Constructor Summary
StaticPasswordAuthenticator(String username, char[] password)
           
 
Method Summary
 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

StaticPasswordAuthenticator

public StaticPasswordAuthenticator(String username,
                                   char[] password)
Method Detail

getPasswordAuthentication

public PasswordAuthentication getPasswordAuthentication()
Overrides:
getPasswordAuthentication in class Authenticator