软件包 | 描述 |
---|---|
java.net |
为实现网络应用程序提供类。
|
Modifier and Type | Method and Description |
---|---|
protected PasswordAuthentication |
Authenticator.getPasswordAuthentication()
当需要密码授权时调用。
|
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String scheme)
向鉴定人,已与一个密码系统注册。
|
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String host, InetAddress addr, int port, String protocol, String prompt, String scheme)
向鉴定人,已与一个密码系统注册。
|
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, Authenticator.RequestorType reqType)
向鉴定人,已与一个密码系统注册。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.