public class AddressingMTOMSecurityTest extends InteropTestBase {
protected OutflowConfiguration getOutflowConfiguration() {
OutflowConfiguration ofc = new OutflowConfiguration();
ofc.setActionItems("Timestamp Signature Encrypt");
ofc.setUser("alice");
ofc.setEncryptionUser("bob");
ofc.setSignaturePropFile("interop.properties");
ofc.setPasswordCallbackClass("org.apache.axis2.security.PWCallback");
ofc.setSignatureKeyIdentifier(WSSHandlerConstants.SKI_KEY_IDENTIFIER);
ofc.setEncryptionKeyIdentifier(WSSHandlerConstants.SKI_KEY_IDENTIFIER);
ofc.setSignatureParts("{Element}{" + ADDR_NS + "}To;" +
"{Element}{" + ADDR_NS + "}MessageID;" +
"{Element}{" + WSU_NS + "}Timestamp");
ofc.setOptimizeParts(
"//xenc:EncryptedData/xenc:CipherData/xenc:CipherValue");
return ofc;
}