This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Changing Policy Storage Location
Policies can be added by directly adding a policy file. Therefore, to change the default location of policies one location have to be edited. These are under the location
element and shown below and is in the registry.xml
located at $GREG_HOME/repository/conf
.
<handler class="org.wso2.carbon.registry.extensions.handlers.PolicyMediaTypeHandler"> <property name="policyLocationConfiguration" type="xml"> <location>/policies/</location> </property> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/policy+xml</property> </filter> </handler>