[jboss-cvs] JBossAS SVN: r68260 - trunk/testsuite/src/main/org/jboss/test/web/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Dec 13 14:55:03 EST 2007


Author: anil.saldhana at jboss.com
Date: 2007-12-13 14:55:02 -0500 (Thu, 13 Dec 2007)
New Revision: 68260

Modified:
   trunk/testsuite/src/main/org/jboss/test/web/test/FormAuthUnitTestCase.java
Log:
JBAS-5075: tomcat is binding valves to localhost

Modified: trunk/testsuite/src/main/org/jboss/test/web/test/FormAuthUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/web/test/FormAuthUnitTestCase.java	2007-12-13 19:53:31 UTC (rev 68259)
+++ trunk/testsuite/src/main/org/jboss/test/web/test/FormAuthUnitTestCase.java	2007-12-13 19:55:02 UTC (rev 68260)
@@ -336,7 +336,8 @@
             // Make sure the security cache is clear
             flushAuthCache();
             //Make sure the ExtendedFormAuthenticator is registered in tomcat
-            String oname = "jboss.web:host="+getServerHost()+",name=ExtendedFormAuthenticator,path=/form-auth,type=Valve";
+            //Note Tomcat always binds to localhost
+            String oname = "jboss.web:host=localhost,name=ExtendedFormAuthenticator,path=/form-auth,type=Valve";
             ObjectName formAuth = new ObjectName(oname);
             //We have a form-auth war with FORM authenticator and that is not overriden at the webapp level
             assertNotNull("Authenticator for FORM on host=localhost exists?", getServer().getObjectInstance(formAuth));




More information about the jboss-cvs-commits mailing list