DDF relies on theĀ Directory Permissions of the host platform to protect the integrity of the DDF during operation. System administrators should take the following steps for deploying bundles added to the DDF.
- Prior to allowing an hot deployment, check the available storage space on the system to ensure the deployment will not exceed the available space.
- The maximum storage can be set on the
DDF_HOME/deploy
andDDF_HOME/system
directories to restrict the amount of space used by deployments. - Do not assume the deployment is from a trusted source, verify its origination.
- Verify from the source that it is required for deployment on DDF to prevent unnecessary/vulnerable deployments.
Endpoint Schema Validation
SOAP Web Services may have WSDL validation enabled. This step is to ensure that the bundle has WSDL schema validation enabled. These instructions assume the implementation made use of the Spring beans model. All DDF endpoint bundles follow this model.
Prior to deploying a bundle/feature verify the schema validation if it is a DDF Endpoint.
- Modify the
beans.xml
fileIn a terminal (create one if necessary) change directory to the feature directory under the DDF installation directory.
cd DDF_HOME/system/com/lmco/ddf/endpoint-bundle.jar
Unzip the
endpoint-bundle.jar
unzip endpoint-bundle.jar
Change directory to the
beans.xml
file.cd META-INF/spring
- Open the
beans.xml
file in an editor (e.g.,vi
) Search for
schema-validation-enabled
and change its value to true<entry key="schema-validation-enabled" value="true"/>
- Save and close the file.
Change directory to the feature directory,
cd ../..
Recreate the jar file (use zip or another archive tool)
zip endpoint-bundle.jar *
- Re-install the feature
- Go into the browser and into the DDF Web Console,
- Click on the install button for the feature.
Schema validation is now enabled for the endpoint.