javax.mail
Class PasswordAuthentication

java.lang.Object
  extended by javax.mail.PasswordAuthentication

public final class PasswordAuthentication
extends Object

A data holder used by Authenticator to contain a username and password.

Version:
$Rev: 467553 $ $Date: 2006-10-25 00:01:51 -0400 (Wed, 25 Oct 2006) $

Constructor Summary
PasswordAuthentication(String user, String password)
           
 
Method Summary
 String getPassword()
           
 String getUserName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordAuthentication

public PasswordAuthentication(String user,
                              String password)
Method Detail

getUserName

public String getUserName()

getPassword

public String getPassword()


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.