Getting 403 forbidden response back using httpunit for an app that uses siteminder for its authentication
0 posts in topic
Flat View  Flat View

Posted By:   Arisa_Lee
Posted On:   Thursday, June 9, 2005 09:10 AM

This is the code snippet. What am I missing?

WebConversation wc = new WebConversation();

wc.setAuthorization("user", "pass");

WebRequest request=null;

String serverURL = "some URL";

request = new GetMethodWebRequest(serverURL);

WebResponse response = wc.getResponse(request);

About | Sitemap | Contact