[java-identity-provider] branch master updated: IDP-1476 - Need a filter to append SameSite to cookies

Scott Cantor cantor.2 at osu.edu
Mon Dec 23 10:43:32 EST 2019


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=65662de5f5f0281e228a4fbb05fd0dc63538a688

The following commit(s) were added to refs/heads/master by this push:
       new  65662de   IDP-1476 - Need a filter to append SameSite to cookies
65662de is described below

commit 65662de5f5f0281e228a4fbb05fd0dc63538a688
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Dec 23 10:43:29 2019 -0500

    IDP-1476 - Need a filter to append SameSite to cookies
    
    https://issues.shibboleth.net/jira/browse/IDP-1476
    
    Add activation condition as a user-agent testing hook.
---
 idp-conf/src/main/resources/system/conf/global-system.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/idp-conf/src/main/resources/system/conf/global-system.xml b/idp-conf/src/main/resources/system/conf/global-system.xml
index 4c15895..818f2ab 100644
--- a/idp-conf/src/main/resources/system/conf/global-system.xml
+++ b/idp-conf/src/main/resources/system/conf/global-system.xml
@@ -166,6 +166,7 @@
         
     <bean id="shibboleth.SameSiteCookieFilter"
         class="net.shibboleth.utilities.java.support.net.SameSiteCookieHeaderFilter"
+        p:activationCondition="#{getObject('shibboleth.SameSiteCondition') ?: true}"
         p:defaultValue="%{idp.cookie.sameSite:None}"
         p:sameSiteCookies="#{getObject('shibboleth.SameSiteCookieMap')}" />
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list