IntelliJ Java IDE
The moose likes Security and the fly likes Registering an ACL for a remote component with an app. server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "Registering an ACL for a remote component with an app. server" Watch "Registering an ACL for a remote component with an app. server" New topic
Author

Registering an ACL for a remote component with an app. server

Nick Faiz
Greenhorn

Joined: Oct 12, 2002
Posts: 11
Hi,
I'm asking this problem in relation to using JMX remotely to check on the condition of a RuntimeMBean? Is there a way in which I can avoid having to supply a username and password combination during the communication. I appreciate that the piece of code must be authorised to use the JMX service, can this be achieved another way other than including an encoded or encrypted username and password in a properties file?
MBeanHome localHome = (MBeanHome) Helper.getMBeanHome("username", "password", "t3://someappserver:7001", "someserverorother");
This question can also be extended to storing usernames and password for authentication via JNDI.
Thanks,
Nick Faiz
[ April 29, 2004: Message edited by: Nick Faiz ]
 
 
subject: Registering an ACL for a remote component with an app. server
 
Threads others viewed
JMX registration
Login thing
Encrypt JMX console password
JMX in WebLogic
jboss jmx console problem
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture