|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
javax.mail Class PasswordAuthentication
java.lang.Objectjavax.mail.PasswordAuthentication
public final class PasswordAuthentication
- extends Object
The class PasswordAuthentication is a data holder that is used by Authenticator. It is simply a repository for a user name and a password.
- 版本:
- 1.6, 05/04/07
- 作者:
- Bill Foote
- 另请参见:
PasswordAuthentication,Authenticator,Authenticator.getPasswordAuthentication()
| 构造器摘要 | |
|---|---|
PasswordAuthentication(String userName,
String password)
Initialize a new PasswordAuthentication |
|
| 方法摘要 | |
|---|---|
String |
getPassword()
|
String |
getUserName()
|
| 类方法继承 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造器详细信息 |
|---|
PasswordAuthentication
public PasswordAuthentication(String userName, String password)
- Initialize a new PasswordAuthentication
- 参数:
userName- the user namepassword- The user's password
| 方法详细信息 |
|---|
getUserName
public String getUserName()
- 返回:
- the user name
getPassword
public String getPassword()
- 返回:
- the password
|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.
javax.mail.PasswordAuthentication