[java-identity-provider] branch main updated: Fix client-storage test by triggering cookie write
Tom Zeller
tzeller at dragonacea.biz
Fri Aug 2 00:23:56 UTC 2024
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=f6e00d6fb156bd314d7d1df0bd1266b21d9586ee
The following commit(s) were added to refs/heads/main by this push:
new f6e00d6fb Fix client-storage test by triggering cookie write
f6e00d6fb is described below
commit f6e00d6fb156bd314d7d1df0bd1266b21d9586ee
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Aug 1 19:23:38 2024 -0500
Fix client-storage test by triggering cookie write
Display output to make
net.shiboleth.shared.spring.servlet.impl.CookieBufferingFilter actually
write the cookie.
https://shibboleth.atlassian.net/browse/JSSH-52
---
.../test/client-storage/write/client-storage-write-test-flow.xml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/idp-conf-impl/src/test/resources/flows/test/client-storage/write/client-storage-write-test-flow.xml b/idp-conf-impl/src/test/resources/flows/test/client-storage/write/client-storage-write-test-flow.xml
index fdc9559a9..20c656f81 100644
--- a/idp-conf-impl/src/test/resources/flows/test/client-storage/write/client-storage-write-test-flow.xml
+++ b/idp-conf-impl/src/test/resources/flows/test/client-storage/write/client-storage-write-test-flow.xml
@@ -30,7 +30,12 @@
<transition on="proceed" to="Done" />
</action-state>
- <end-state id="Done" />
+ <!-- Display a response to trigger n.s.shared.spring.servlet.impl.CookieBufferingFilter to write the cookie. -->
+ <end-state id="Done" >
+ <on-entry>
+ <evaluate expression="flowRequestContext.getExternalContext().getNativeResponse().getWriter().println('OK')" />
+ </on-entry>
+ </end-state>
<bean-import resource="../client-storage-test-beans.xml" />
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list