public class DefaultAuthenticationStrategy extends java.lang.Object implements AuthenticationStrategy
AuthenticationStrategy| Modifier and Type | Field and Description |
|---|---|
static DefaultAuthenticationStrategy |
INSTANCE |
| Constructor and Description |
|---|
DefaultAuthenticationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AuthScheme> |
select(ChallengeType challengeType,
java.util.Map<java.lang.String,AuthChallenge> challenges,
HttpContext context)
Returns an list of
AuthSchemes to handle the given AuthChallenges
in their order of preference. |
public static final DefaultAuthenticationStrategy INSTANCE
public java.util.List<AuthScheme> select(ChallengeType challengeType, java.util.Map<java.lang.String,AuthChallenge> challenges, 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.