How to set the Authorization header to java
I have gone through the Web Authentication mechanism explain on http://www.ietf.org/rfc/rfc2617.txt
http://unixpapa.com/auth/index.html
1. I know I can connect to authenticated site using HTTPClient like appche for java (using user credintial)
2. Every time when server sends 401 unauthorized response then browser handles that automatically and send the use credintial with MD5 encrypted.
The most import question here is if I can connect thruogh HTTPClient and I am able to receive the authorization header then Can I set that header to browse by using customized program like java to bypass the login popup.
I want to give the bypass for login popup because I konw the required username and password for the particular site.
Thanks in Advance
Ramesh