[jboss-user] [Security & JAAS/JBoss] - questions on the defaultCachTimeout
jdsignature
do-not-reply at jboss.com
Wed Jan 16 16:37:31 EST 2008
Does anybody know when to apply the DefaultCachTimeout = 0 to flush the user credentials, and when to use the following code to flush? thanks,
ObjectName jaasMgr = new ObjectName("jboss.security:service=JaasSecurityManager");
Object[] params = {domain};
String[] signature = {"java.lang.String"};
MBeanServer server = (MBeanServer) MBeanServerFactory.findMBeanServer(null).get(0);
server.invoke(jaasMgr, "flushAuthenticationCache", params, signature);
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120649#4120649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120649
More information about the jboss-user
mailing list