Thanks for the reply Scott. The issue is that i would like to know whether we can apply the Security Credentials and secure the JBoss Server , if we are securing the invokers in the way suggested in the Wiki.
Please find attatced the code Properties env = new Properties(); env.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); env.setProperty(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces"); env.setProperty("jnp.sotimeout","10000"); String jmxConnectionURL="jnp://"+serverURL+":"+port; env.setProperty(Context.PROVIDER_URL, jmxConnectionURL); env.put(Context.SECURITY_PRINCIPAL, "user"); env.put(Context.SECURITY_CREDENTIALS, "passwd"); InitialContext ctx_ = new InitialContext(env); Object obj = ctx_.lookup("jmx/invoker/RMIAdaptor"); RMIAdaptor rmiAdaptor_ = (RMIAdaptor)PortableRemoteObject.narrow(obj,RMIAdaptor.class); Thanks in Advance. Regards Ciji View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846255#3846255 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846255 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user