@Contract(threading=STATELESS) public interface AuthenticationStrategy
Implementations of this interface must be thread-safe. Access to shared data must be synchronized as methods of this interface may be executed from multiple threads.
| Modifier and Type | Method and Description |
|---|---|
List<AuthScheme> |
select(ChallengeType challengeType,
Map<String,AuthChallenge> challenges,
HttpContext context)
Returns an list of
AuthSchemes to handle the given AuthChallenges
in their order of preference. |
List<AuthScheme> select(ChallengeType challengeType, Map<String,AuthChallenge> challenges, HttpContext context)
AuthSchemes to handle the given AuthChallenges
in their order of preference.challengeType - 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.