Never mind, I found it
| String domain = "jmx-console";
| Principal user = new SimplePrincipal("javaduke");
| ObjectName jaasMgr = new
ObjectName("jboss.security:service=JaasSecurityManager");
| Object[] params = {domain, user};
| String[] signature = {"java.lang.String", Principal.class};
| MBeanServer server = (MBeanServer)
MBeanServerFactory.findMBeanServer(null).get(0);
| server.invoke(jaasMgr, "flushAuthenticationCache", params, signature);
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872258#3872258
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872258
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user