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:45:49 UTC

[ws-wss4j] branch 2_2_x-fixes 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 2_2_x-fixes
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git


The following commit(s) were added to refs/heads/2_2_x-fixes by this push:
     new 80e3a23  Check result size after SAMLTokenSigned processing
80e3a23 is described below

commit 80e3a23202a6329179727fad8155ea51472aa3b7
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     | 1 +
 1 file changed, 1 insertion(+)

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 e981210..9e1e821 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
@@ -193,6 +193,7 @@ public class SamlTokenActionTest extends org.junit.Assert {
         }
 
         WSHandlerResult results = verify(doc, callbackHandler);
+        assertEquals(2, results.getActionResults().keySet().size());
         WSSecurityEngineResult actionResult =
             results.getActionResults().get(WSConstants.ST_SIGNED).get(0);