public final class AuthChallengeProcessor extends Object
| Constructor and Description |
|---|
AuthChallengeProcessor(HttpParams params)
Creates an authentication challenge processor with the given
HTTP
parameters |
| Modifier and Type | Method and Description |
|---|---|
AuthScheme |
processChallenge(AuthState state,
Map challenges)
Processes the given collection of challenges and updates the
state of the authentication process. |
AuthScheme |
selectAuthScheme(Map challenges)
Determines the preferred
authentication scheme that can be used
to respond to the given collection of challenges. |
public AuthChallengeProcessor(HttpParams params)
HTTP
parametersparams - the HTTP parameters used by this processorpublic AuthScheme selectAuthScheme(Map challenges) throws AuthChallengeException
authentication scheme that can be used
to respond to the given collection of challenges.challenges - the collection of authentication challengesauthentication schemeAuthChallengeException - if the preferred authentication scheme
cannot be determined or is not supportedpublic AuthScheme processChallenge(AuthState state, Map challenges) throws MalformedChallengeException, AuthenticationException
state of the authentication process.challenges - the collection of authentication challengesauthentication scheme used to
process the challengeAuthChallengeException - if authentication challenges cannot be
successfully processed or the preferred authentication scheme cannot
be determinedMalformedChallengeExceptionAuthenticationExceptionCopyright © 2020 Internet2. All rights reserved.