| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.commons.httpclient.auth.AuthChallengeProcessorpublic final class AuthChallengeProcessorextends ObjectConstructor Summary | |
| |
Method Summary | |
AuthScheme |
|
AuthScheme |
|
public AuthChallengeProcessor(HttpParams params)
Creates an authentication challenge processor with the givenHTTP parameters
- Parameters:
params- theHTTP parametersused by this processor
public AuthScheme processChallenge(AuthState state, Map challenges) throws MalformedChallengeException, AuthenticationException
Processes the given collection of challenges and updates thestateof the authentication process.
- Parameters:
challenges- the collection of authentication challenges
- Returns:
- the
authentication schemeused to process the challenge
public AuthScheme selectAuthScheme(Map challenges) throws AuthChallengeException
Determines the preferredauthentication schemethat can be used to respond to the given collection of challenges.
- Parameters:
challenges- the collection of authentication challenges
- Returns:
- the preferred
authentication scheme
- Throws:
AuthChallengeException- if the preferred authentication scheme cannot be determined or is not supported