To avoid you to spend a lot of time around JAAS with JBoss, you maybe can take a look to our example with a standard DatabaseLoginModule on JBoss 3.x.
This is also to thanks all the people out there that helped us so many times!
We hope this will help!
(see README.txt in README folder...)
Alessandro Lombardi, Fabrizio Gambelunghe
I apologize... wrong forum...! I must post it in the users forums...
You know, we are italian, so we make often a mess!!