I believe that what is wrong in your setup is the login module configured in 
your login-config.xml.
In order to use the user and role flat files, the login module to use (code 
attribute of the login-module element) is 
org.jboss.security.auth.spi.UsersRolesLoginModule and not 
org.jboss.security.ClientLoginModule.

You will also have to make sure that the users.properties and roles.properties 
files are in your classpath somewhere (if you package them in the jar file 
containing your ejb-jar.xml it should work).

Thomas

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861002


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to