org.eclipse.jetty.jndi.factories
类 MailSessionReference.PasswordAuthenticator
java.lang.Object
javax.mail.Authenticator
org.eclipse.jetty.jndi.factories.MailSessionReference.PasswordAuthenticator
- 包容类:
- MailSessionReference
public static class MailSessionReference.PasswordAuthenticator
- extends Authenticator
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailSessionReference.PasswordAuthenticator
public MailSessionReference.PasswordAuthenticator()
MailSessionReference.PasswordAuthenticator
public MailSessionReference.PasswordAuthenticator(String user,
String password)
getPasswordAuthentication
public PasswordAuthentication getPasswordAuthentication()
- 从类
Authenticator 复制的描述
- Called when password authentication is needed. Subclasses should
override the default implementation, which returns null.
Note that if this method uses a dialog to prompt the user for this
information, the dialog needs to block until the user supplies the
information. This method can not simply return after showing the
dialog.
- 覆盖:
- 类
Authenticator 中的 getPasswordAuthentication
- 返回:
- The PasswordAuthentication collected from the
user, or null if none is provided.
setUser
public void setUser(String user)
getUser
public String getUser()
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
Copyright © 2013. All Rights Reserved.