0 Replies Latest reply on Mar 15, 2009 5:13 PM by Juergen Zimmermann

    Flush AuthenticationCache via ProfileService and/or Deployme

    Juergen Zimmermann Master

      With JBossAS 4.x I flushed the AuthenticationCache via JMX:

      Context ctx = new InitialContext();
      MBeanServerConnection server = (MBeanServerConnection) ctx.lookup("jmx/invoker/RMIAdaptor");
      server.invoke(new ObjectName("jboss.security", "service", "JaasSecurityManager"),
       new String[] { "mySecurityDomain" },
       new String[] { "java.lang.String" });

      Does JBossAS 5.1.x provide an alternative way by using the new ProfileService and/or DeploymentManager? Any hint is appreciated!