Here you go:

      if(ctx==null) ctx = new
InitialContext(System.getProperties());
      if(server==null) server = (RMIAdaptor)
ctx.lookup("jmx/rmi/RMIAdaptor");
      if(name==null) name = new
ObjectName("jboss.security:service=JaasSecurityManager");
Object result = server.invoke(name,
"flushAuthenticationCache", new
Object[]{"client-login"}, new
String[]{"java.lang.String"});


--- Simone Milani <[EMAIL PROTECTED]> wrote:
> Hi,
> 
>     Please could you point me at an example of using
> the MBeanServer
> remotely using the EJB or RMI adaptor?
> 
> Thanks
> 
> Simone
> 
> 
>
-------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now!
> Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user


=====
Nicholas Whitehead
Home: (973) 377 9335
Cell: (201) 615 2716
[EMAIL PROTECTED]
Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to