PDA

View Full Version : security MBean



calypso
Mar 26th, 2007, 06:21 AM
Hi

I work with spring 2.0.3 and Websphere 5.1

I created a bean for the configuration of my application
My xml is like :

---------------------------------------------
<bean id="mbeanExporter"
class="org.springframework.jmx.export.MBeanExporter">
<property name="beans">
<map>
<entry key="${application_name}:application=fwk,service=config Service,name=server" value-ref="configDynamicMBeanServer" />
</map>
</property>
<property name="registrationBehaviorName" value="REGISTRATION_REPLACE_EXISTING"/>
</bean>
--------------------------------------------

When i use Jmanage to see my mbean in my websphere server, it's ok. But there is no security on my custom mbean !
If i send good credentials or bad credentials to the server, my server ignores it and i can always modifiy attributes on my mbean. I enable security in the soap.client.props file, but there is always the same problem

Any ideas ?

How assign role to my mbean ?

thanks

calypso
Apr 3rd, 2007, 02:15 AM
please

How have you implemented your security in your mbean ? :confused:
Directly in your mbean ?
in a xml file ?
...

thanks