-
1. Re: Jboss is always using UserRolesLoginModule instead of Cl
ssiebel Feb 14, 2008 6:25 AM (in response to ssiebel)ok, i solved it. the solution is quite project specific, so that it is not useful to post here...
br,
Stefan. -
2. Re: Jboss is always using UserRolesLoginModule instead of Cl
saleem.khan Feb 18, 2008 10:52 PM (in response to ssiebel)Hi,
You put the users.properties and roles.properties file in your web application classes folder.
users.properties will contain entries like
<user name>=
and roles.properties will look like
<user name>=Authenticated
The same user entry must be in users_en.propertries file which is in the entity management jar file.
This will solve your problem.
Saleem -
3. Re: Jboss is always using UserRolesLoginModule instead of Cl
bensonfungjava Feb 20, 2008 11:31 PM (in response to ssiebel)Hi, ssiebel,
I got the same problem as you have. Could you tell me how to fix it?
My email is canadawpfung@Hotmail.com. It really makes me crazy.
Thanks
Benson -
4. Re: Jboss is always using UserRolesLoginModule instead of Cl
ssiebel Feb 22, 2008 7:22 AM (in response to ssiebel)Hello bensonfungjava,
sorry for the late answer. As i mentioned above the solution is quite project specific and might not help you much.
Our application is deployed as an EAR. the jsf project is part of that ear as well as the auth-module. so the only thing i had to do is to reference this auth-module when creating the logincontext.
a very good article about integrating JSF with JAAS you can find here:
http://weblogs.java.net/blog/edburns/archive/2006/03/repost_using_ja.html
hope that helps! good luck!