I have succesfully used JBoss Database Login Module against the two tables(Users and Roles) for authentication and authorization.
I am interested in extending this to use tables for Users, Groups, Roles, and Permissions. How do I integrate Permissions into the mix. I notice that the DBLogin module returns Groups with the method getRoleSets(). If I wish to make this finer grained with Permissions, how would I go about doing this?
This is the initial phase so any ideas are welcome.