public final class NoAuthenticationStrategy extends Object implements org.apache.http.client.AuthenticationStrategy
Modifier and Type | Field and Description |
---|---|
static org.apache.http.client.AuthenticationStrategy |
INSTANCE
An
AuthenticationStrategy singleton instance that never performs authentication. |
Modifier and Type | Method and Description |
---|---|
void |
authFailed(org.apache.http.HttpHost host,
org.apache.http.auth.AuthScheme authScheme,
org.apache.http.protocol.HttpContext context) |
void |
authSucceeded(org.apache.http.HttpHost host,
org.apache.http.auth.AuthScheme authScheme,
org.apache.http.protocol.HttpContext context) |
Map<String,org.apache.http.Header> |
getChallenges(org.apache.http.HttpHost host,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
boolean |
isAuthenticationRequested(org.apache.http.HttpHost host,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
Queue<org.apache.http.auth.AuthOption> |
select(Map<String,org.apache.http.Header> challenges,
org.apache.http.HttpHost host,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
public static final org.apache.http.client.AuthenticationStrategy INSTANCE
AuthenticationStrategy
singleton instance that never performs authentication.public void authFailed(org.apache.http.HttpHost host, org.apache.http.auth.AuthScheme authScheme, org.apache.http.protocol.HttpContext context)
authFailed
in interface org.apache.http.client.AuthenticationStrategy
public void authSucceeded(org.apache.http.HttpHost host, org.apache.http.auth.AuthScheme authScheme, org.apache.http.protocol.HttpContext context)
authSucceeded
in interface org.apache.http.client.AuthenticationStrategy
public Map<String,org.apache.http.Header> getChallenges(org.apache.http.HttpHost host, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.auth.MalformedChallengeException
getChallenges
in interface org.apache.http.client.AuthenticationStrategy
org.apache.http.auth.MalformedChallengeException
public boolean isAuthenticationRequested(org.apache.http.HttpHost host, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
isAuthenticationRequested
in interface org.apache.http.client.AuthenticationStrategy
public Queue<org.apache.http.auth.AuthOption> select(Map<String,org.apache.http.Header> challenges, org.apache.http.HttpHost host, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.auth.MalformedChallengeException
select
in interface org.apache.http.client.AuthenticationStrategy
org.apache.http.auth.MalformedChallengeException
Copyright © 2025 Open Identity Platform Community. All rights reserved.