You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Norman Maurer (JIRA)" <ji...@apache.org> on 2010/11/18 14:47:26 UTC

[jira] Commented: (AMQ-3044) Enable securing created JMX connector

    [ https://issues.apache.org/activemq/browse/AMQ-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63400#action_63400 ] 

Norman Maurer commented on AMQ-3044:
------------------------------------

Just as a note... secured jmx will not start if the files don't have the proper perms / ownership. On linux you can do it during packaging, but on windows the user need to set it manual which is kind of a pain. So if you really want to use auth/pass you should disable it by default so the user will at least have no problems at the first place.

Related to the security aspect we (JAMES) wrote a custom RMISocketFactory which allows to bind to a specific ipaddress . Maybe its useful for you too:

http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/RestrictingRMISocketFactory.java?view=markup
 

> Enable securing created JMX connector
> -------------------------------------
>
>                 Key: AMQ-3044
>                 URL: https://issues.apache.org/activemq/browse/AMQ-3044
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 5.4.1
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>             Fix For: 5.5.0
>
>
> When creating JMX connector (instead using platform one), we should be able to secure the access with username and password like:
> {code}
>     <managementContext>
>       <managementContext createConnector="true" connectorPort="2011" jmxDomainName="test.domain">
>           <property xmlns="http://www.springframework.org/schema/beans" name="environment">
>               <map xmlns="http://www.springframework.org/schema/beans">
> 				<entry xmlns="http://www.springframework.org/schema/beans" key="jmx.remote.x.password.file" value="src/test/resources/jmx.password"/>
> 				<entry xmlns="http://www.springframework.org/schema/beans" key="jmx.remote.x.access.file" value="src/test/resources/jmx.access"/>
>               </map>
>           </property>
>       </managementContext>
>     </managementContext>
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.