Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

1 participant

@joserodolfofreitas

AS6 didn't need any new configuration when using default sever.

@joserodolfofreitas joserodolfofreitas merged commit 2058ad5 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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.
+
+
Something went wrong with that request. Please try again.