Hi All,
As per the discussion happened in the mailing thread "Applying QOS from
developer studio with ESB 4.9.0 release", specifying the Policy Key and
allowRoles parameter has been implemented from the Developer Studio side
for proxy services.
According to the discussion happened during the meeting held on the 8th
April, The Data Service configuration generated by the Developer Studio
side will be as follows.
<data name="sampleDS" serviceGroup="DS" serviceNamespace="org.wso2.test">
<description/>
<config id="1">
<property name="org.wso2.ws.dataservice.user">root</property>
<property name="org.wso2.ws.dataservice.password">root</property>
<property
name="org.wso2.ws.dataservice.protocol">jdbc:mysql://localhost:3306/EMPLOYEE</property>
<property
name="org.wso2.ws.dataservice.driver">com.mysql.jdbc.Driver</property>
</config>
* <enableSec>true</enableSec>*
* <policy key="conf:repository/policy_1.xml"/>*
*<parameter name="allowRoles">admin</parameter>*
</data>
Thanks,
Sohani
Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com
Mobile : +94 716439774
Blog :http://christinetechtips.blogspot.com/
Twitter : https://twitter.com/sohanichristine
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev