Hi,
I want to do preemptive authentication in Http ands as per as the auth
guide
http://hc.apache.org/httpclient-3.x/authentication.html#Preemptive_Authe
ntication I have set the option
client.getParams().setAuthenticationPreemptive(true);
I observed that in case of the server the basic credentials were sent
out even though server didn't send a 401 reply but in case of proxy the
credentials were sent only when the client received 407 response.
Is there some other option I have to set for doing preemptive
authentication on the proxy too?
Please note that in both cases basic auth is happening.

Also as I understand the preemptive authentication happens only in basic
authentication as in digest/NTLM we need reply from the server to create
the final response. Is my understanding correct?

Thanks,
Pankaj Arora


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to