[jbossws-commits] JBossWS SVN: r15242 - stack/native/trunk/modules/testsuite.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Fri Nov 11 13:28:45 EST 2011


Author: alessio.soldano at jboss.com
Date: 2011-11-11 13:28:45 -0500 (Fri, 11 Nov 2011)
New Revision: 15242

Modified:
   stack/native/trunk/modules/testsuite/pom.xml
Log:
[AS7-2520] Default to trying passing admin/admin credential for management console access when no username/pwd is provided for the jbossws testsuite run


Modified: stack/native/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/native/trunk/modules/testsuite/pom.xml	2011-11-11 18:23:59 UTC (rev 15241)
+++ stack/native/trunk/modules/testsuite/pom.xml	2011-11-11 18:28:45 UTC (rev 15242)
@@ -999,7 +999,7 @@
           <plugin>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
-              <argLine>${surefire.jvm.args} ${surefire.jvm.management.args} -Djava.endorsed.dirs=${endorsed.dirs}</argLine>
+              <argLine>${surefire.jvm.args} ${surefire.jvm.management.args} ${surefire.default-mgmt-serurity.args} -Djava.endorsed.dirs=${endorsed.dirs}</argLine>
               <excludes>
                  <!-- # UsernameTokenHTTPSTestCase requires keystore & trustore in jboss-web tomcat configuration-->
                  <exclude>org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.*</exclude>
@@ -1204,6 +1204,29 @@
         <jboss.server.instance>default</jboss.server.instance>
       </properties>
     </profile>
+    
+    <profile>
+      <id>default-mgmt-security</id>
+      <activation>
+        <property>
+          <name>!jbossws.deployer.authentication.username</name>
+        </property>
+      </activation>
+      <properties>
+        <surefire.default-mgmt-serurity.args>-Djbossws.deployer.authentication.username=admin -Djbossws.deployer.authentication.password=admin</surefire.default-mgmt-serurity.args>
+      </properties>
+    </profile>
+    <profile>
+      <id>custom-mgmt-security</id>
+      <activation>
+        <property>
+          <name>jbossws.deployer.authentication.username</name>
+        </property>
+      </activation>
+      <properties>
+        <surefire.default-mgmt-serurity.args> </surefire.default-mgmt-serurity.args>
+      </properties>
+    </profile>
   </profiles>
 
 </project>



More information about the jbossws-commits mailing list