Is there anyway to tell JBoss SX not to cache user/roles data? I am using DatabaseServerLoginModule as follows:
| <application-policy name="expressDomain"> | <authentication> | <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" | flag="required" > | <module-option name="dsJndiName">java:/jdbc/mysql</module-option> | <module-option name="principalsQuery"> | select passwrd from app_user where username=? | </module-option> | <module-option name = "rolesQuery"> | select role_name, 'Roles' from user_role where username=? | </module-option> | </login-module> | </authentication> | </application-policy> | In this application an admin can come along and edit another users roles, but this does not seem to get reflected. It seems like JBoss SX caches the roles/user mappings. Is there anyone to turn this caching off? I downloaded the JBoss SX source from SF and walked the tree from DatabaseServerLoginModule to AbstractServerLoginModule and it does not seem like they are caching the results. I am guessing it is another class that uses DatabaseServerLoginModule that caches the roles/users. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822798#3822798 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822798 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
