[httpclient] duplicate 401 when using preemptive authentication

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[httpclient] duplicate 401 when using preemptive authentication

Nicolas De Loof-3


I'm using preemptive authentication for my BASIC HTTP web service client
using commons-httpclient. When my credentials expires (server response
401) httpclient runs a "chalenge" and send a second request to server.
This creates duplicates security logs in my server.

I've submited issue
http://issues.apache.org/bugzilla/show_bug.cgi?id=36339 about this, but
I'm searching for a workaround. How can I configure httpclient
authentication processing to skip chalenge ?


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.

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