You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2021/04/19 08:26:59 UTC
[ws-wss4j] branch master updated: Check result size after
SAMLTokenSigned processing
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git
The following commit(s) were added to refs/heads/master by this push:
new 473abfa Check result size after SAMLTokenSigned processing
473abfa is described below
commit 473abfae750b10528a3dc3e5e504441b2ad6a46d
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Mon Apr 19 09:26:36 2021 +0100
Check result size after SAMLTokenSigned processing
---
.../src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java
index dead6ed..c5d9e3c 100644
--- a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java
+++ b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java
@@ -49,6 +49,7 @@ import org.apache.wss4j.dom.handler.WSHandlerResult;
import org.junit.jupiter.api.Test;
+import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -193,6 +194,7 @@ public class SamlTokenActionTest {
}
WSHandlerResult results = verify(doc, callbackHandler);
+ assertEquals(2, results.getActionResults().keySet().size());
WSSecurityEngineResult actionResult =
results.getActionResults().get(WSConstants.ST_SIGNED).get(0);