You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-ws-security/src/main/java/org/springframework/ws/soap/security/wss4j2/Wss4jSecurityInterceptor.java
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,7 @@ public class Wss4jSecurityInterceptor extends AbstractWsSecurityInterceptor impl
179
179
180
180
privatebooleanbspCompliant;
181
181
182
+
privatebooleanaddInclusivePrefixes = true;
182
183
privatebooleansecurementUseDerivedKey;
183
184
184
185
privateCallbackHandlersamlCallbackHandler;
@@ -541,6 +542,15 @@ public void setBspCompliant(boolean bspCompliant) {
541
542
this.bspCompliant = bspCompliant;
542
543
}
543
544
545
+
/**
546
+
* Sets whether to add an InclusiveNamespaces PrefixList as a CanonicalizationMethod child
547
+
* when generating Signatures using WSConstants.C14N_EXCL_OMIT_COMMENTS. Default is {@code true}.
Copy file name to clipboardExpand all lines: spring-ws-security/src/test/java/org/springframework/ws/soap/security/wss4j2/SaajWss4jMessageInterceptorSignTest.java
+41Lines changed: 41 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -84,4 +84,45 @@ public void testSignAndValidate() throws Exception {
0 commit comments