SOAj Mail v. 1.3


info.soaj.mail.internal
Class SjEmailAuthenticator

java.lang.Object
  extended by javax.mail.Authenticator
      extended by info.soaj.mail.internal.SjEmailAuthenticator

public class SjEmailAuthenticator
extends javax.mail.Authenticator

This class contains email authentication related fields.

Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com .

Since:
v. 1.0
Author:
MarvinToll@gtcGroup.com

Field Summary
private  java.lang.String password
          The email password.
private  java.lang.String username
          The email ID.
 
Constructor Summary
SjEmailAuthenticator(java.lang.String username, java.lang.String password)
          Constructor.
 
Method Summary
 javax.mail.PasswordAuthentication getPasswordAuthentication()
          This method
 
Methods inherited from class javax.mail.Authenticator
getDefaultUserName, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingSite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

username

private final java.lang.String username
The email ID.


password

private final java.lang.String password
The email password.

Constructor Detail

SjEmailAuthenticator

public SjEmailAuthenticator(java.lang.String username,
                            java.lang.String password)
Constructor.

Parameters:
username -
password -
Method Detail

getPasswordAuthentication

public javax.mail.PasswordAuthentication getPasswordAuthentication()
This method

Overrides:
getPasswordAuthentication in class javax.mail.Authenticator
Returns:
PasswordAuthentication

SOAj Mail v. 1.3


Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.