| 程序包 | 说明 |
|---|---|
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient.auth |
Provides implementation of various authentication schemes as well as
utility classes that can be used to authenticate HTTP requests.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AuthChallengeException
Signals a failure processing authentication challenge
|
class |
CredentialsNotAvailableException
Authentication credentials required to respond to a authentication
challenge are not available
|
class |
InvalidCredentialsException
Authentication credentials required to respond to a authentication
challenge are invalid
|
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
HttpAuthenticator.authenticate(AuthScheme authscheme,
HttpMethod method,
HttpConnection conn,
HttpState state)
已过时。
use AuthScheme
|
String |
NTLMScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces NTLM authorization string for the given set of
Credentials. |
String |
DigestScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces a digest authorization string for the given set of
Credentials, method name and URI. |
String |
BasicScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces basic authorization string for the given set of
Credentials. |
String |
AuthScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces an authorization string for the given set of
Credentials. |
String |
NTLMScheme.authenticate(Credentials credentials,
String method,
String uri)
|
String |
DigestScheme.authenticate(Credentials credentials,
String method,
String uri)
|
String |
BasicScheme.authenticate(Credentials credentials,
String method,
String uri)
|
String |
AuthScheme.authenticate(Credentials credentials,
String method,
String uri)
已过时。
Use
AuthScheme.authenticate(Credentials, HttpMethod)
Produces an authorization string for the given set of Credentials,
method name and URI using the given authentication scheme in response to
the actual authorization challenge. |
static String |
NTLMScheme.authenticate(NTCredentials credentials,
String challenge)
已过时。
Use non-static
NTLMScheme.authenticate(Credentials, HttpMethod) |
static String |
NTLMScheme.authenticate(NTCredentials credentials,
String challenge,
String charset)
已过时。
Use non-static
NTLMScheme.authenticate(Credentials, HttpMethod) |
static boolean |
HttpAuthenticator.authenticateDefault(HttpMethod method,
HttpConnection conn,
HttpState state)
已过时。
use AuthScheme
|
static boolean |
HttpAuthenticator.authenticateProxy(AuthScheme authscheme,
HttpMethod method,
HttpConnection conn,
HttpState state)
已过时。
use AuthScheme
|
static boolean |
HttpAuthenticator.authenticateProxyDefault(HttpMethod method,
HttpConnection conn,
HttpState state)
已过时。
use AuthScheme
|
AuthScheme |
AuthChallengeProcessor.processChallenge(AuthState state,
Map challenges)
Processes the given collection of challenges and updates the
state of the authentication process. |
Copyright © 2017. All rights reserved.