TargetAuthenticationStrategy@Deprecated @Contract(threading=IMMUTABLE) public class DefaultTargetAuthenticationHandler extends AbstractAuthenticationHandler
AuthenticationHandler implementation
for target host authentication.| Constructor and Description |
|---|
DefaultTargetAuthenticationHandler()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.util.Map<java.lang.String,Header> |
getChallenges(HttpResponse response,
org.apache.http.protocol.HttpContext context)
Deprecated.
|
boolean |
isAuthenticationRequested(HttpResponse response,
org.apache.http.protocol.HttpContext context)
Deprecated.
|
getAuthPreferences, parseChallenges, selectSchemepublic DefaultTargetAuthenticationHandler()
public boolean isAuthenticationRequested(HttpResponse response, org.apache.http.protocol.HttpContext context)
public java.util.Map<java.lang.String,Header> getChallenges(HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.auth.MalformedChallengeException
org.apache.http.auth.MalformedChallengeExceptionprotected java.util.List<java.lang.String> getAuthPreferences(HttpResponse response, org.apache.http.protocol.HttpContext context)
AbstractAuthenticationHandlergetAuthPreferences in class AbstractAuthenticationHandlerresponse - HTTP response.context - HTTP execution context.