I am trying to programmatically authenticate a url and get the response using Apache Commons httpclient. The response code is 200 however the i am getting a response with the a sign on page. I want to deep dive in to the sign on page and get the response.
I am noticing that the cookies are blank when i try printing using the following code: Cookie[] cookies = httpclient.getState().getCookies();
The response has the following message: "Your browser does not have JavaScript enabled. This feature is needed to support XXXX's Windows Single Sign-On (WSSO). Please contact your PC support person or call"
Pls help.