Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[JSFUNIT-289] Added README file explaining how to configure it on AS7.

  • Loading branch information...
commit 33ce11475d73f9f4fb4d137e70245c0e377a29c4 1 parent a2cbfd1
@joserodolfofreitas joserodolfofreitas authored
Showing with 23 additions and 0 deletions.
  1. +23 −0 examples-arquillian/hellojsf/README.txt
View
23 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.
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.