First, when posting xml content, bracket it with [ code]..[ code ] (without the 
spaces). you can easily do this by selecting the text and clicking the Code 
button.  I noticed that you used < code > brackets, but that will not work 
other than forcing  fixed-width font, the tags within the xml can still cause 
problems.

Try adding a WEB-INF/jboss-web.xml files, containing the following:

<jboss-web>
  |   <security-domain>java:/jaas/myloginmodule</security-domain>
  | </jboss-web>

and then add the following to the server/xxx/data/login-config.xml file:

    <application-policy name = "myloginmodule">
  |        <authentication>
  |           <login-module 
code="org.jboss.security.auth.spi.UsersRolesLoginModule"
  |              flag = "required">
  |            <module-option 
name="usersProperties">props/users.properties</module-option>
  |            <module-option 
name="rolesProperties">props/roles.properties</module-option>
  |           </login-module>
  |        </authentication>
  |     </application-policy>
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073710#4073710

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073710
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to