| 软件包 | 描述 |
|---|---|
| org.apache.http.auth |
客户端HTTP认证API。
|
| org.apache.http.client |
客户端HTTP通信API。
|
| org.apache.http.impl.auth |
标准和常规HTTP认证方案的默认实现。
|
| org.apache.http.impl.client |
默认HTTP客户端实现。
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthScheme.processChallenge(Header header)
处理给定的挑战令牌。
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Header> |
AuthenticationStrategy.getChallenges(HttpHost authhost, HttpResponse response, HttpContext context)
从给定的HTTP响应中提取认证挑战的集合,每个认证挑战表示认证主机支持的认证方案。
|
Map<String,Header> |
AuthenticationHandler.getChallenges(HttpResponse response, HttpContext context)
已过时。
从给定的HTTP响应中提取认证挑战的集合,每个认证挑战表示认证主机支持的认证方案。
|
Queue<AuthOption> |
AuthenticationStrategy.select(Map<String,Header> challenges, HttpHost authhost, HttpResponse response, HttpContext context)
选择所有可用的身份验证挑战,并创建并生成能够处理该挑战的 AuthOption实例。
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AuthSchemeBase.parseChallenge(CharArrayBuffer buffer, int beginIndex, int endIndex) |
protected void |
GGSSchemeBase.parseChallenge(CharArrayBuffer buffer, int beginIndex, int endIndex) |
protected void |
NTLMScheme.parseChallenge(CharArrayBuffer buffer, int beginIndex, int endIndex) |
protected void |
RFC2617Scheme.parseChallenge(CharArrayBuffer buffer, int pos, int len) |
void |
BasicScheme.processChallenge(Header header)
处理基本挑战
|
void |
AuthSchemeBase.processChallenge(Header header)
处理给定的挑战令牌。
|
void |
DigestScheme.processChallenge(Header header)
处理摘要挑战
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Header> |
DefaultTargetAuthenticationHandler.getChallenges(HttpResponse response, HttpContext context)
已过时。
|
Map<String,Header> |
DefaultProxyAuthenticationHandler.getChallenges(HttpResponse response, HttpContext context)
已过时。
|
protected Map<String,Header> |
AbstractAuthenticationHandler.parseChallenges(Header[] headers)
已过时。
|
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.