Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to set the Authorization header to java

843841Apr 27 2006
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

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 25 2006
Added on Apr 27 2006
0 comments
221 views