Hi,
In case you are interested, I have attached the source files to this message.
It is basically an adapted version of the JDBCRealm in glassfish with two changes:
* group caching; The current version does not cache groups at all. The glassfish version cached indefinitely which made it unusable for scenarios where the groups of a user change at runtime (realistic scenario)
* query configuration (one for the password, and one for the groups of a user) instead of configuring table and column names (less flexible).
Cheers
Erik
[Message sent by forum member 'erikengerd' (erikengerd)]
http://forums.java.net/jive/thread.jspa?messageID=243913