servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r641225 - /servicemix/smx4/features/trunk/management/core/src/main/resources/META-INF/spring/servicemix-management.xml
Date Wed, 26 Mar 2008 09:47:56 GMT
Author: gnodet
Date: Wed Mar 26 02:47:54 2008
New Revision: 641225

URL: http://svn.apache.org/viewvc?rev=641225&view=rev
Log:
Register a dummy authenticator for JMX

Modified:
    servicemix/smx4/features/trunk/management/core/src/main/resources/META-INF/spring/servicemix-management.xml

Modified: servicemix/smx4/features/trunk/management/core/src/main/resources/META-INF/spring/servicemix-management.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/management/core/src/main/resources/META-INF/spring/servicemix-management.xml?rev=641225&r1=641224&r2=641225&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/management/core/src/main/resources/META-INF/spring/servicemix-management.xml
(original)
+++ servicemix/smx4/features/trunk/management/core/src/main/resources/META-INF/spring/servicemix-management.xml
Wed Mar 26 02:47:54 2008
@@ -71,6 +71,17 @@
          another one is exported by a bundle with a higher ranking -->
     <osgi:reference id="jmxAuthenticator" interface="javax.management.remote.JMXAuthenticator"
cardinality="0..1"/>
 
+    <!-- Simple authenticator -->
+    <bean id="simpleAuthenticator" class="org.apache.servicemix.management.SimpleAuthenticationManager">
+        <property name="login" value="smx" />
+        <property name="password" value="smx" />
+    </bean>
+    <osgi:service ref="simpleAuthenticator">
+        <osgi:interfaces>
+            <value>javax.management.remote.JMXAuthenticator</value>
+        </osgi:interfaces>
+    </osgi:service>
+
     <!-- Property place holder -->
     <osgix:property-placeholder persistent-id="org.apache.servicemix.management">
         <osgix:default-properties>



Mime
View raw message