jodd.mail
Class SimpleAuthenticator
java.lang.Object
javax.mail.Authenticator
jodd.mail.SimpleAuthenticator
public class SimpleAuthenticator
- extends javax.mail.Authenticator
Performs simple authentication when the server requires it.
|
Field Summary |
protected java.lang.String |
password
|
protected java.lang.String |
username
|
| 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 |
username
protected final java.lang.String username
password
protected final java.lang.String password
SimpleAuthenticator
public SimpleAuthenticator(java.lang.String username,
java.lang.String password)
getPasswordAuthentication
public javax.mail.PasswordAuthentication getPasswordAuthentication()
- Overrides:
getPasswordAuthentication in class javax.mail.Authenticator
Copyright © 2003-2013 Jodd Team