Using form authentcation, I recommend everyone to extend 
org.jboss.security.auth.spiDatabaseServerLoginModule

This class is simple and easy to extend to whatever you want.

I have made two extended versions:

1. user, role and group tables with many to many between all tables.
This gives you the posibility to asign roles to groups and roles + groups
to users (gives you a fast and very flexible assignment of capabilities).

2. A version of the above using RMI to a session bean on the application tier.  (if 
the web tier with jaas does not have db connectivity).

I can post some code as examples if anyone is interested.

/GÃran

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834177#3834177

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834177


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to