[jboss-cvs] JBossAS SVN: r105827 - in branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf: props and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jun 8 20:00:10 EDT 2010


Author: clebert.suconic at jboss.com
Date: 2010-06-08 20:00:10 -0400 (Tue, 08 Jun 2010)
New Revision: 105827

Added:
   branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/props/
   branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/props/hornetq-roles.properties
   branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/props/hornetq-users.properties
Modified:
   branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/login-config.xml
Log:
fixing tests

Modified: branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/login-config.xml
===================================================================
--- branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/login-config.xml	2010-06-08 23:12:21 UTC (rev 105826)
+++ branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/login-config.xml	2010-06-09 00:00:10 UTC (rev 105827)
@@ -34,6 +34,21 @@
          </login-module>
       </authentication>
    </application-policy>
+  
+  <!-- A template configuration for hornetq. This
+    defaults to the UsersRolesLoginModule the same as other and should be
+    changed to a stronger authentication mechanism as required.
+  -->
+  <application-policy name="hornetq">
+    <authentication>
+      <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+        flag="required">
+	<module-option name = "unauthenticatedIdentity">guest</module-option>
+        <module-option name="usersProperties">props/hornetq-users.properties</module-option>
+        <module-option name="rolesProperties">props/hornetq-roles.properties</module-option>
+      </login-module>
+    </authentication>
+  </application-policy>
 
    <application-policy name = "JmsXARealm">
       <authentication>

Added: branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/props/hornetq-roles.properties
===================================================================
--- branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/props/hornetq-roles.properties	                        (rev 0)
+++ branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/props/hornetq-roles.properties	2010-06-09 00:00:10 UTC (rev 105827)
@@ -0,0 +1,9 @@
+#
+# user=role1,role2,...
+#
+guest=guest,j2ee
+john=guest,subscriber,publisher,durpublisher
+dynsub=publisher,durpublisher
+nobody=noacc
+
+

Added: branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/props/hornetq-users.properties
===================================================================
--- branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/props/hornetq-users.properties	                        (rev 0)
+++ branches/JBPAPP_5_1/testsuite/src/resources/test-configs/jacc/conf/props/hornetq-users.properties	2010-06-09 00:00:10 UTC (rev 105827)
@@ -0,0 +1,9 @@
+#
+# user=password
+#
+# Sample users
+guest=guest
+john=needle
+j2ee=j2ee
+nobody=nobody
+dynsub=dynsub



More information about the jboss-cvs-commits mailing list