org.enhydra.shark.toolagent
Class SmtpAuthenticator
java.lang.Object
javax.mail.Authenticator
org.enhydra.shark.toolagent.SmtpAuthenticator
- public class SmtpAuthenticator
- extends javax.mail.Authenticator
The class Authenticator represents an object that knows how to obtain authentication
for a network connection.
Applications use this class by creating a subclass, and registering an instance of that
subclass with the system with setDefault(). When authentication is required, the system
will invoke a method on the subclass (like getPasswordAuthentication)
- Version:
- 1.0
- Author:
- Paloma Trigueros Cabezon
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 |
SmtpAuthenticator
public SmtpAuthenticator()
SmtpAuthenticator
public SmtpAuthenticator(java.lang.String login,
java.lang.String pass)
getPasswordAuthentication
public javax.mail.PasswordAuthentication getPasswordAuthentication()