users@glassfish.java.net

Re: Default principal to role mapping problem...

From: <glassfish_at_javadesktop.org>
Date: Mon, 05 Nov 2007 09:57:15 PST

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