org.objectweb.jonas.mail.lib.JAuthenticator Class Reference

List of all members.

Public Member Functions

 JAuthenticator (String username, String password)
PasswordAuthentication getPasswordAuthentication ()

Detailed Description

This class specifies the authenticator to used in Sesssion.getInstance() method.
Author:
Florent Benoit

Ludovic Bert

Definition at line 39 of file JAuthenticator.java.


Constructor & Destructor Documentation

org.objectweb.jonas.mail.lib.JAuthenticator.JAuthenticator String  username,
String  password
 

Constructor for build a new Authenticator

Parameters:
username the name of the user
password the password of the user

Definition at line 56 of file JAuthenticator.java.


Member Function Documentation

PasswordAuthentication org.objectweb.jonas.mail.lib.JAuthenticator.getPasswordAuthentication  ) 
 

Called when password authentication is needed.

Returns:
a password authentication

Definition at line 65 of file JAuthenticator.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:08 2005 for JOnAS by  doxygen 1.3.9.1