This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch 3_0_x-fixes
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git
The following commit(s) were added to refs/heads/3_0_x-fixes by this push:
new b780164dc Request unmasked errors in AttachmentTest failure-path tests
(#774)
b780164dc is described below
commit b780164dcb031635ea3a149e5fdef27f4e12be87
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Fri Nov 6 16:27:06 2026 +0000
Request unmasked errors in AttachmentTest failure-path tests (#774)
---
.../src/test/java/org/apache/wss4j/stax/test/AttachmentTest.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/AttachmentTest.java
b/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/AttachmentTest.java
index 2c9fc51f8..9be87223c 100644
---
a/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/AttachmentTest.java
+++
b/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/AttachmentTest.java
@@ -215,7 +215,7 @@ public class AttachmentTest extends AbstractTestBase {
}
});
- InboundWSSec wsSecIn = WSSec.getInboundWSSec(securityProperties);
+ InboundWSSec wsSecIn = WSSec.getInboundWSSec(securityProperties,
false, true);
XMLStreamReader xmlStreamReader =
wsSecIn.processInMessage(xmlInputFactory.createXMLStreamReader(new
ByteArrayInputStream(baos.toByteArray())));
try {
StAX2DOM.readDoc(documentBuilderFactory.newDocumentBuilder(),
xmlStreamReader);
@@ -340,7 +340,7 @@ public class AttachmentTest extends AbstractTestBase {
}
});
- InboundWSSec wsSecIn = WSSec.getInboundWSSec(securityProperties);
+ InboundWSSec wsSecIn = WSSec.getInboundWSSec(securityProperties,
false, true);
XMLStreamReader xmlStreamReader =
wsSecIn.processInMessage(xmlInputFactory.createXMLStreamReader(new
ByteArrayInputStream(baos.toByteArray())));
try {
StAX2DOM.readDoc(documentBuilderFactory.newDocumentBuilder(),
xmlStreamReader);
@@ -1071,7 +1071,7 @@ public class AttachmentTest extends AbstractTestBase {
securityProperties.setCallbackHandler(new CallbackHandlerImpl());
securityProperties.setAttachmentCallbackHandler(attachmentCallbackHandler);
- InboundWSSec wsSecIn = WSSec.getInboundWSSec(securityProperties);
+ InboundWSSec wsSecIn = WSSec.getInboundWSSec(securityProperties,
false, true);
XMLStreamReader xmlStreamReader =
wsSecIn.processInMessage(xmlInputFactory.createXMLStreamReader(new
ByteArrayInputStream(baos.toByteArray())));
try {
StAX2DOM.readDoc(documentBuilderFactory.newDocumentBuilder(),
xmlStreamReader);
@@ -1335,7 +1335,7 @@ public class AttachmentTest extends AbstractTestBase {
}
}
});
- InboundWSSec wsSecIn = WSSec.getInboundWSSec(securityProperties);
+ InboundWSSec wsSecIn = WSSec.getInboundWSSec(securityProperties,
false, true);
XMLStreamReader xmlStreamReader =
wsSecIn.processInMessage(xmlInputFactory.createXMLStreamReader(new
ByteArrayInputStream(baos.toByteArray())));
try {
StAX2DOM.readDoc(documentBuilderFactory.newDocumentBuilder(),
xmlStreamReader);