@Contract(threading=STATELESS) public class DefaultAuthenticationStrategy extends Object implements AuthenticationStrategy
AuthenticationStrategy| 限定符和类型 | 字段和说明 |
|---|---|
static DefaultAuthenticationStrategy |
INSTANCE |
| 构造器和说明 |
|---|
DefaultAuthenticationStrategy() |
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
public static final DefaultAuthenticationStrategy INSTANCE
public List<AuthScheme> select(ChallengeType challengeType, Map<String,AuthChallenge> challenges, HttpContext context)
AuthenticationStrategyAuthSchemes to handle the given AuthChallenges
in their order of preference.select 在接口中 AuthenticationStrategychallengeType - challenge type.challenges - map of challenges keyed by lowercase auth scheme names.context - HTTP context.Copyright © 2023. All rights reserved.