java.net
Class Authenticator

java.lang.Object
  |
  +--java.net.Authenticator

public abstract synchronized class Authenticator
extends Object


Constructor Summary
Authenticator()
           
 
Method Summary
protected  PasswordAuthentication getPasswordAuthentication()
           
protected  String getRequestingHost()
           
protected  int getRequestingPort()
           
protected  String getRequestingPrompt()
           
protected  String getRequestingProtocol()
           
protected  String getRequestingScheme()
           
protected  InetAddress getRequestingSite()
           
static PasswordAuthentication requestPasswordAuthentication(InetAddress, int, String, String, String)
           
static PasswordAuthentication requestPasswordAuthentication(String, InetAddress, int, String, String, String)
           
static void setDefault(Authenticator)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Constructor Detail

Authenticator

public Authenticator()
Method Detail

setDefault

public static void setDefault(Authenticator)

requestPasswordAuthentication

public static PasswordAuthentication requestPasswordAuthentication(InetAddress,
                                                                   int,
                                                                   String,
                                                                   String,
                                                                   String)

requestPasswordAuthentication

public static PasswordAuthentication requestPasswordAuthentication(String,
                                                                   InetAddress,
                                                                   int,
                                                                   String,
                                                                   String,
                                                                   String)

getRequestingHost

protected final String getRequestingHost()

getRequestingSite

protected final InetAddress getRequestingSite()

getRequestingPort

protected final int getRequestingPort()

getRequestingProtocol

protected final String getRequestingProtocol()

getRequestingPrompt

protected final String getRequestingPrompt()

getRequestingScheme

protected final String getRequestingScheme()

getPasswordAuthentication

protected PasswordAuthentication getPasswordAuthentication()