AuthenticationStrategy@Deprecated @Immutable public abstract class AbstractAuthenticationHandler extends java.lang.Object implements AuthenticationHandler
AuthenticationHandler implementations.| 构造器和说明 |
|---|
AbstractAuthenticationHandler()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.util.List<java.lang.String> |
getAuthPreferences()
已过时。
Returns default list of auth scheme names in their order of preference.
|
protected java.util.List<java.lang.String> |
getAuthPreferences(HttpResponse response,
HttpContext context)
已过时。
Returns default list of auth scheme names in their order of preference
based on the HTTP response and the current execution context.
|
protected java.util.Map<java.lang.String,Header> |
parseChallenges(Header[] headers)
已过时。
|
AuthScheme |
selectScheme(java.util.Map<java.lang.String,Header> challenges,
HttpResponse response,
HttpContext context)
已过时。
Selects one authentication challenge out of all available and
creates and generates
AuthScheme instance capable of
processing that challenge. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChallenges, isAuthenticationRequestedprotected java.util.Map<java.lang.String,Header> parseChallenges(Header[] headers) throws MalformedChallengeException
protected java.util.List<java.lang.String> getAuthPreferences()
protected java.util.List<java.lang.String> getAuthPreferences(HttpResponse response, HttpContext context)
response - HTTP response.context - HTTP execution context.public AuthScheme selectScheme(java.util.Map<java.lang.String,Header> challenges, HttpResponse response, HttpContext context) throws AuthenticationException
AuthenticationHandlerAuthScheme instance capable of
processing that challenge.selectScheme 在接口中 AuthenticationHandlerchallenges - collection of challenges.response - HTTP response.context - HTTP context.AuthenticationException - if an authentication scheme
could not be selected.