[java-plugin-shibd-saml] branch main updated: Try fix for inexplicable sealing violation.
Codeberg
noreply at shibboleth.net
Wed May 20 17:43:18 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-plugin-shibd-saml.
View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd-saml/commit/d6c287773ca17afc949bcda2f1ba5fb70b75c3e8
The following commit(s) were added to refs/heads/main by this push:
new d6c2877 Try fix for inexplicable sealing violation.
d6c2877 is described below
commit d6c287773ca17afc949bcda2f1ba5fb70b75c3e8
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Wed May 20 13:43:07 2026 -0400
Try fix for inexplicable sealing violation.
---
.../sp/saml/saml2/profile/impl/PrepareAgentResponseTest.java | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/sp-saml-impl/src/test/java/net/shibboleth/sp/saml/saml2/profile/impl/PrepareAgentResponseTest.java b/sp-saml-impl/src/test/java/net/shibboleth/sp/saml/saml2/profile/impl/PrepareAgentResponseTest.java
index 62db9dd..d07f5ed 100644
--- a/sp-saml-impl/src/test/java/net/shibboleth/sp/saml/saml2/profile/impl/PrepareAgentResponseTest.java
+++ b/sp-saml-impl/src/test/java/net/shibboleth/sp/saml/saml2/profile/impl/PrepareAgentResponseTest.java
@@ -56,7 +56,6 @@ import net.shibboleth.sp.ddf.DDF;
import net.shibboleth.sp.messaging.RemotedHttpServletResponse;
import net.shibboleth.sp.profile.ConsumerConstants;
import net.shibboleth.sp.profile.impl.BaseApplicationActionTest;
-import net.shibboleth.sp.profile.impl.CreateOutputMessage;
import net.shibboleth.sp.saml.saml2.context.SAMLTokenContext;
/**
@@ -86,10 +85,10 @@ public class PrepareAgentResponseTest extends BaseApplicationActionTest {
action = new PrepareAgentResponse();
action.initialize();
- final CreateOutputMessage createAction = new CreateOutputMessage();
- createAction.setCreateServletResponse(true);
- createAction.initialize();
- ActionTestingSupport.assertProceedEvent(createAction.execute(src));
+ final DDF output = new DDF().structure();
+ output.addmember(RemotedHttpServletResponse.STRUCTURE_NAME).structure();
+ arc.setOutput(output);
+ arc.setRemotedHttpServletResponse(new RemotedHttpServletResponse(output.getmember(RemotedHttpServletResponse.STRUCTURE_NAME)));
}
/**
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list