Permalink
Browse files

Merge pull request #4 from joserodolfofreitas/arquillian-hellojsf-readme

[JSFUNIT-289] Added README file explaining how to configure it on AS7.
  • Loading branch information...
2 parents 3af4775 + 33ce114 commit 2058ad5b5d32d8f25ace029858e7bb2ffa66e3d6 @joserodolfofreitas joserodolfofreitas committed Sep 8, 2011
Showing with 23 additions and 0 deletions.
  1. +23 −0 examples-arquillian/hellojsf/README.txt
@@ -0,0 +1,23 @@
+To make authentication work in AS7 follow the steps:
+
+1) on standalone/configuration/standalone.xml file
+add the class name org.jboss.security.auth.spi.UsersRolesLoginModule
+as a parameter for the code attribute at login module from security-domain named "other"
+
+<subsystem xmlns="urn:jboss:domain:security:1.0">
+ <security-domains>
+ <security-domain name="other" cache-type="default">
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required"/>
+ </authentication>
+ </security-domain>
+ </security-domains>
+ </subsystem>
+
+2) on standalone/configuration/mgmt-users.properties
+add this new line to the file:
+admin=password
+
+To make it work in AS6 use default server and you shall have no problem with it.
+
+

0 comments on commit 2058ad5

Please sign in to comment.