Issue Details (XML | Word | Printable)

Key: SPR-4909
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Juergen Hoeller
Reporter: Matt Wright
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Spring Framework

Add support for environment variables for MBean connection.

Created: 11/Jun/08 11:40 AM   Updated: 04/Jul/08 01:13 AM   Resolved: 04/Jul/08 01:13 AM
Component/s: SpringJMX
Affects Version/s: None
Fix Version/s: 2.5.6

Time Tracking:
Not Specified


 Description  « Hide

The current version of MBeanClientInterceptor does not allow for environment variable to be configured for the JMXConnection as detailed in JMXConnector JMXConnectorFactory.connect(JMXServiceURL serviceURL, Map<String,?> environment) to allow for username and password authentication.



Juergen Hoeller added a comment - 04/Jul/08 01:13 AM

Thanks for pointing this out! I've added a corresponding "environment" property to MBeanClientInterceptor and NotificationListenerRegistar, allowing for JMX env entries to be specified as a Map of key-value pairs (e.g. using Spring's XML <map> element).

Juergen