mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-3044 - adding example in activemq-security.xml
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1036530 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3f0cf98407
commit
fe1bf48a1d
|
@ -0,0 +1,18 @@
|
|||
## ---------------------------------------------------------------------------
|
||||
## Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
## contributor license agreements. See the NOTICE file distributed with
|
||||
## this work for additional information regarding copyright ownership.
|
||||
## The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
## (the "License"); you may not use this file except in compliance with
|
||||
## the License. You may obtain a copy of the License at
|
||||
##
|
||||
## http://www.apache.org/licenses/LICENSE-2.0
|
||||
##
|
||||
## Unless required by applicable law or agreed to in writing, software
|
||||
## distributed under the License is distributed on an "AS IS" BASIS,
|
||||
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
## See the License for the specific language governing permissions and
|
||||
## limitations under the License.
|
||||
## ---------------------------------------------------------------------------
|
||||
|
||||
admin readwrite
|
|
@ -0,0 +1,18 @@
|
|||
## ---------------------------------------------------------------------------
|
||||
## Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
## contributor license agreements. See the NOTICE file distributed with
|
||||
## this work for additional information regarding copyright ownership.
|
||||
## The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
## (the "License"); you may not use this file except in compliance with
|
||||
## the License. You may obtain a copy of the License at
|
||||
##
|
||||
## http://www.apache.org/licenses/LICENSE-2.0
|
||||
##
|
||||
## Unless required by applicable law or agreed to in writing, software
|
||||
## distributed under the License is distributed on an "AS IS" BASIS,
|
||||
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
## See the License for the specific language governing permissions and
|
||||
## limitations under the License.
|
||||
## ---------------------------------------------------------------------------
|
||||
|
||||
admin activemq
|
|
@ -65,6 +65,19 @@
|
|||
|
||||
<broker useJmx="true" persistent="false" xmlns="http://activemq.apache.org/schema/core" destroyApplicationContextOnStop="true">
|
||||
|
||||
<managementContext>
|
||||
<managementContext createConnector="true">
|
||||
<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="conf/jmx.password"/>
|
||||
<entry xmlns="http://www.springframework.org/schema/beans" key="jmx.remote.x.access.file"
|
||||
value="conf/jmx.access"/>
|
||||
</map>
|
||||
</property>
|
||||
</managementContext>
|
||||
</managementContext>
|
||||
|
||||
<plugins>
|
||||
<!-- Configure authentication; Username, passwords and groups -->
|
||||
<simpleAuthenticationPlugin>
|
||||
|
|
Loading…
Reference in New Issue