[jboss-cvs] JBossAS SVN: r60356 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/test/ssl.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Feb 6 19:51:01 EST 2007
Author: stan.silvert at jboss.com
Date: 2007-02-06 19:51:01 -0500 (Tue, 06 Feb 2007)
New Revision: 60356
Modified:
branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/test/ssl/SSLUnitTestCase.java
Log:
HttpClient now automatically handles 302 redirects. setFollowRedirects(false)
Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/test/ssl/SSLUnitTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/test/ssl/SSLUnitTestCase.java 2007-02-06 23:33:05 UTC (rev 60355)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/web/test/ssl/SSLUnitTestCase.java 2007-02-07 00:51:01 UTC (rev 60356)
@@ -109,6 +109,7 @@
String url = httpNoAuth+"clientcert-auth/unrestricted/SecureServlet";
log.info("Accessing: "+url);
GetMethod get = new GetMethod(url);
+ get.setFollowRedirects(false);
int responseCode = httpConn.executeMethod(get);
String status = get.getStatusText();
log.debug(status);
More information about the jboss-cvs-commits
mailing list