javax.mail
Class Authenticator

java.lang.Object
  extended byjavax.mail.Authenticator

public abstract class Authenticator
extends java.lang.Object

Version:
$Rev: 126350 $ $Date: 2005-01-24 23:35:47 -0700 (Mon, 24 Jan 2005) $

Field Summary
private  java.net.InetAddress host
           
private  int port
           
private  java.lang.String prompt
           
private  java.lang.String protocol
           
private  java.lang.String username
           
 
Constructor Summary
Authenticator()
           
 
Method Summary
(package private)  PasswordAuthentication authenticate(java.net.InetAddress host, int port, java.lang.String protocol, java.lang.String prompt, java.lang.String username)
           
protected  java.lang.String getDefaultUserName()
           
protected  PasswordAuthentication getPasswordAuthentication()
           
protected  int getRequestingPort()
           
protected  java.lang.String getRequestingPrompt()
           
protected  java.lang.String getRequestingProtocol()
           
protected  java.net.InetAddress getRequestingSite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

private java.net.InetAddress host

port

private int port

prompt

private java.lang.String prompt

protocol

private java.lang.String protocol

username

private java.lang.String username
Constructor Detail

Authenticator

public Authenticator()
Method Detail

authenticate

PasswordAuthentication authenticate(java.net.InetAddress host,
                                    int port,
                                    java.lang.String protocol,
                                    java.lang.String prompt,
                                    java.lang.String username)

getDefaultUserName

protected final java.lang.String getDefaultUserName()

getPasswordAuthentication

protected PasswordAuthentication getPasswordAuthentication()

getRequestingPort

protected final int getRequestingPort()

getRequestingPrompt

protected final java.lang.String getRequestingPrompt()

getRequestingProtocol

protected final java.lang.String getRequestingProtocol()

getRequestingSite

protected final java.net.InetAddress getRequestingSite()