In this sample the proxy service will receive a secure message with the
MustUnderstand header. Since the element
enableSec is not present in the proxy configuration, the ESB will not engage Apache Rampart on this proxy service. It is expected that a
MustUnderstand failure exception should occur at the
AxisEngine before the message reaches the ESB, but here since the ESB handles this message and gets it in by setting all the headers that are
MustUnderstand and not processed to the processed state, this will enable the ESB to route the messages without processing the security headers.
- Download For a list of general prerequisites, see Prerequisites to start ESB samples.
- This sample uses Apache Rampart as the back-end security implementation. Therefore, you need to download and install the unlimited strength policy files for your JDK before using Apache Rampart. To download the policy files, go Follow the steps below to download and install the unlimited strength policy files:jce6-429243.html.For a list of general prerequisites, see Prerequisites to Start the ESB Samples
2133166.html, and download the unlimited strength JCE policy files for your JDK version.
- Uncompress and extract the downloaded ZIP file. This creates a directory named JCE that contains the
- In your Java installation directory, go to the
jre/lib/securitydirectory, and make a copy of the existing
US_export_policy.jarfiles. Next, replace the original policy files with the policy files that you extracted in the previous step.
Building the sample
The XML configuration for this sample is as follows: