Package org.eclipse.jetty.jndi.factories
Class MailSessionReference.PasswordAuthenticator
- java.lang.Object
-
- javax.mail.Authenticator
-
- org.eclipse.jetty.jndi.factories.MailSessionReference.PasswordAuthenticator
-
- Enclosing class:
- MailSessionReference
public static class MailSessionReference.PasswordAuthenticator extends javax.mail.Authenticator
-
-
Constructor Summary
Constructors Constructor Description PasswordAuthenticator()
PasswordAuthenticator(java.lang.String user, java.lang.String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPassword()
javax.mail.PasswordAuthentication
getPasswordAuthentication()
java.lang.String
getUser()
void
setPassword(java.lang.String password)
void
setUser(java.lang.String user)
-
-
-
Method Detail
-
getPasswordAuthentication
public javax.mail.PasswordAuthentication getPasswordAuthentication()
- Overrides:
getPasswordAuthentication
in classjavax.mail.Authenticator
-
setUser
public void setUser(java.lang.String user)
-
getUser
public java.lang.String getUser()
-
getPassword
public java.lang.String getPassword()
-
setPassword
public void setPassword(java.lang.String password)
-
-