@Contract(threading=STATELESS) public class DefaultAuthenticationStrategy extends Object implements AuthenticationStrategy
AuthenticationStrategy| Modifier and Type | Field and Description | 
|---|---|
| static DefaultAuthenticationStrategy | INSTANCE | 
| Constructor and Description | 
|---|
| DefaultAuthenticationStrategy() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<AuthScheme> | select(ChallengeType challengeType,
      Map<String,AuthChallenge> challenges,
      org.apache.hc.core5.http.protocol.HttpContext context)Returns an list of  AuthSchemes to handle the givenAuthChallenges
 in their order of preference. | 
public static final DefaultAuthenticationStrategy INSTANCE
public List<AuthScheme> select(ChallengeType challengeType, Map<String,AuthChallenge> challenges, org.apache.hc.core5.http.protocol.HttpContext context)
AuthenticationStrategyAuthSchemes to handle the given AuthChallenges
 in their order of preference.select in interface AuthenticationStrategychallengeType - challenge type.challenges - map of challenges keyed by lowercase auth scheme names.context - HTTP context.Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.