This content has been marked as final.
Show 1 reply
-
1. Re: Force JBoss to refresh cache
rlutz Sep 13, 2011 3:53 PM (in response to rlutz)I tried changing jboss-service.xml to change the DefaultCacheTimeout to 0 from 1800, and also tried
String domain = "jmx-console"; 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);
I also tried flushing the authenticationCache through the JMX web console, and that didn't seem to work either.
I can verify that the new password hash is being inserted in the database properly, but JBoss doesn't seem to want to check for the new hash?
I'm stumped