AuthenticationStrategy@Deprecated
@Contract(threading=IMMUTABLE)
public abstract class AbstractAuthenticationHandler
extends java.lang.Object
implements org.apache.http.client.AuthenticationHandler
AuthenticationHandler implementations.| Constructor and Description |
|---|
AbstractAuthenticationHandler()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
getAuthPreferences()
Deprecated.
Returns default list of auth scheme names in their order of preference.
|
protected java.util.List<java.lang.String> |
getAuthPreferences(HttpResponse response,
org.apache.http.protocol.HttpContext context)
Deprecated.
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)
Deprecated.
|
org.apache.http.auth.AuthScheme |
selectScheme(java.util.Map<java.lang.String,Header> challenges,
HttpResponse response,
org.apache.http.protocol.HttpContext context)
Deprecated.
|
protected java.util.Map<java.lang.String,Header> parseChallenges(Header[] headers) throws org.apache.http.auth.MalformedChallengeException
org.apache.http.auth.MalformedChallengeExceptionprotected java.util.List<java.lang.String> getAuthPreferences()
protected java.util.List<java.lang.String> getAuthPreferences(HttpResponse response, org.apache.http.protocol.HttpContext context)
response - HTTP response.context - HTTP execution context.public org.apache.http.auth.AuthScheme selectScheme(java.util.Map<java.lang.String,Header> challenges, HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.auth.AuthenticationException
selectScheme in interface org.apache.http.client.AuthenticationHandlerorg.apache.http.auth.AuthenticationException