|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 PasswordAuthentication 的软件包 | |
|---|---|
| java.net | 为实现网络应用程序提供类。 |
| java.net 中 PasswordAuthentication 的使用 |
|---|
| 返回 PasswordAuthentication 的 java.net 中的方法 | |
|---|---|
protected PasswordAuthentication |
Authenticator.getPasswordAuthentication()
需要密码授权时调用。 |
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(InetAddress addr,
int port,
String protocol,
String prompt,
String scheme)
要求已经向系统注册的 authenticator 提供密码。 |
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String host,
InetAddress addr,
int port,
String protocol,
String prompt,
String scheme)
要求已经向系统注册的 authenticator 提供密码。 |
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String host,
InetAddress addr,
int port,
String protocol,
String prompt,
String scheme,
URL url,
Authenticator.RequestorType reqType)
要求已经向系统注册的 authenticator 提供密码。 |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。