[java-identity-provider] branch main updated: Allow override of condition attached to response header filter.

Scott Cantor cantor.2 at osu.edu
Wed Aug 2 14:13:19 UTC 2023


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

scantor 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=3302b00c6c02d93cd6a44bf3e23a970e0b5c42d3

The following commit(s) were added to refs/heads/main by this push:
     new 3302b00c6 Allow override of condition attached to response header filter.
3302b00c6 is described below

commit 3302b00c6c02d93cd6a44bf3e23a970e0b5c42d3
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Aug 2 10:13:13 2023 -0400

    Allow override of condition attached to response header filter.
---
 idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/filters.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/filters.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/filters.xml
index 5185d84d5..b82bb6cfb 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/filters.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/filters.xml
@@ -71,7 +71,7 @@
 
     <!-- Handles response header customization so must run conditionally based on path prefix. -->
     <bean class="net.shibboleth.shared.spring.servlet.impl.DynamicResponseHeaderFilter"
-        p:activationCondition-ref="UserFacingPrefixPredicate"
+        p:activationCondition-ref="#{'%{idp.responseHeaderCondition:UserFacingPrefixPredicate'.trim()}"
         p:headers="#{getObject('shibboleth.ResponseHeaderMap') ?: getObject('shibboleth.DefaultResponseHeaderMap')}"
         p:callbacks="#{getObject('shibboleth.ResponseHeaderCallbacks')}" />
     

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


More information about the commits mailing list