-
1. Re: JAAS for JBoss 7 -Properties based configuration.
jaikiran Dec 23, 2011 4:05 AM (in response to hantsy)hantsy bai wrote:
And added the users.properties and roles.properties in JBoss 7 standalone/configuration folder.
You'll have to package them within your application for them to be available in the classpath.
hantsy bai wrote:
And configuration in project jboss-web.xml
<jboss-web> <security-domain>java:/jaas/other</security-domain> </jboss-web>
You should just be using "other" and not java:/jaas/other.
-
2. Re: JAAS for JBoss 7 -Properties based configuration.
hantsy Dec 23, 2011 4:29 AM (in response to jaikiran)Thanks, I will verify it.
This is not motioned in the JBoss 7 document, I read some old document for the former jboss, it said the files can be put in the configuration folder.
I hope JBoss AS team can update the whole JBoss 7 document and keep it up with the newest version.
Regards
Hantsy
-
3. Re: JAAS for JBoss 7 -Properties based configuration.
hantsy Aug 8, 2013 10:58 PM (in response to hantsy)Yes, I got it resovled as sugestion from jaikiran pai.
-
4. Re: JAAS for JBoss 7 -Properties based configuration.
hantsy Aug 9, 2013 5:56 AM (in response to hantsy)you can use the command line tools shipped with JBoss 7.1 to add users.
Refer the readme of this project.