xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "David Jencks" <[EMAIL PROTECTED]> To: "jboss-dev" <[EMAIL PROTECTED]> Sent: Thursday, May 02, 2002 9:31 AM Subject: [JBoss-dev] Does JaasSecurityManager need flushCache method? (jboss 3)
> I'm wondering if the JaasSecurityManager needs its flushCache method. It > does not appear to be called anywhere, and I don't think it is normally > accessed except through its interfaces?? Is the preferred way to flush the > cache the JaasSecurityManagerServiceMBean.flushAuthenticationCache method? > That is correct. The JaasSecurityManagerService.flushAuthenticationCache used to call the JaasSecurityManager.flushCache method but now it keeps track of the caches since they can be specified at the JaasSecurityManagerService level. > Also, in the jca stuff I now have 2 references to security stuff: a jndi > name for the realm (? domain?) and an mbean ref to > JaasSecurityManagerService, so I can flush the cache. This seems excessive > to me. Is there a way to do this with only one reference of some kind? > Caching is not part of any of the manifest security manager related interfaces so there is not a single reference you can obtain short of going to the org.jboss.security.plugins.JaasSecurityManager object which is not a good idea. In what circumstances do you flush the cache? This should really not be a framework level event. _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
