org.apache.commons.httpclient.auth
Class AuthChallengeProcessor
java.lang.Object
org.apache.commons.httpclient.auth.AuthChallengeProcessor
public final class AuthChallengeProcessor
extends java.lang.Object
This class provides utility methods for processing HTTP www and proxy authentication
challenges.
AuthChallengeProcessor
public AuthChallengeProcessor(HttpParams params)
Creates an authentication challenge processor with the given
HTTP
parameters
selectAuthScheme
public AuthScheme selectAuthScheme(Map challenges)
throws AuthChallengeException
Determines the preferred
authentication scheme
that can be used
to respond to the given collection of challenges.
challenges
- the collection of authentication challenges
Copyright (c) 1999-2005 - Apache Software Foundation