Class AuthChallengeProcessor
- java.lang.Object
 - 
- org.apache.commons.httpclient.auth.AuthChallengeProcessor
 
 
- 
@Deprecated public final class AuthChallengeProcessor extends java.lang.ObjectDeprecated.Jakarta Commons HttpClient 3.x is deprecated in the Jenkins project. It is not recommended to use it in any new code. Instead, use HTTP client API plugins as a dependency in your code. E.g. Apache HttpComponents Client API 4.x Plugin or Async HTTP Client Plugin.This class provides utility methods for processing HTTP www and proxy authentication challenges.- Since:
 - 3.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AuthChallengeProcessor(HttpParams params)Deprecated.Creates an authentication challenge processor with the givenHTTP parameters 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthSchemeprocessChallenge(AuthState state, java.util.Map challenges)Deprecated.Processes the given collection of challenges and updates thestateof the authentication process.AuthSchemeselectAuthScheme(java.util.Map challenges)Deprecated.Determines the preferredauthentication schemethat can be used to respond to the given collection of challenges. 
 - 
 
- 
- 
Constructor Detail
- 
AuthChallengeProcessor
public AuthChallengeProcessor(HttpParams params)
Deprecated.Creates an authentication challenge processor with the givenHTTP parameters- Parameters:
 params- theHTTP parametersused by this processor
 
 - 
 
- 
Method Detail
- 
selectAuthScheme
public AuthScheme selectAuthScheme(java.util.Map challenges) throws AuthChallengeException
Deprecated.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
 
- 
processChallenge
public AuthScheme processChallenge(AuthState state, java.util.Map challenges) throws MalformedChallengeException, AuthenticationException
Deprecated.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 - Throws:
 AuthChallengeException- if authentication challenges cannot be successfully processed or the preferred authentication scheme cannot be determinedMalformedChallengeExceptionAuthenticationException
 
 - 
 
 -