This content has been marked as final.
Show 5 replies
-
1. Re: help in configuring jboss-web.xml
anil.saldhana Jun 15, 2005 1:46 PM (in response to bandini)Why do you need additional security domains? Just have one security domain with all the login modules you require and the appropriate flags (required, sufficient, optional) configured.
-
2. Re: help in configuring jboss-web.xml
bandini Jun 15, 2005 2:12 PM (in response to bandini)Thanx Anil, this would definitely solve my problems....is there some links where i could read a bit of those tags....
-
3. Re: help in configuring jboss-web.xml
bandini Jun 15, 2005 2:31 PM (in response to bandini)Hi,
I tried adding all my security models to the security domain tag....but as soon as i do it, as i try to login we get an error:11:27:31,609 ERROR [org.jboss.security.auth.spi.UsersRolesLoginModule] - Failed to load users/passwords/role files java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found
This is the code i wrote:<security-domain>java:/jaas/@app-name@ flag="required" java:/jaas/@app-name@admin flag = "sufficient"</security-domain>
-
4. Re: help in configuring jboss-web.xml
anil.saldhana Jun 15, 2005 2:32 PM (in response to bandini)Standard Jaas documentation from Sun will do. If not, I find the following article pretty useful.
http://www.ftponline.com/javapro/2004_06/magazine/features/kjones/ -
5. Re: help in configuring jboss-web.xml
anil.saldhana Jun 15, 2005 2:56 PM (in response to bandini)Please read the documentation on JAAS and also on JBoss provided login modules.