javax.mail

Class PasswordAuthentication


public final class PasswordAuthentication
extends java.lang.Object

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

Constructor Summary

PasswordAuthentication(String user, String password)

Method Summary

String
getPassword()
String
getUserName()

Constructor Details

PasswordAuthentication

public PasswordAuthentication(String user,
                              String password)

Method Details

getPassword

public String getPassword()

getUserName

public String getUserName()