[java-identity-provider] 19/23: IDP-2358 - Consent condition on back-channel flows invoked incorrectly
Scott Cantor
cantor.2 at osu.edu
Mon Mar 17 15:03:58 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-5.1
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=6f64580dba947c5fd4bf4880b55429a8546a2881
commit 6f64580dba947c5fd4bf4880b55429a8546a2881
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Feb 12 14:59:47 2025 -0500
IDP-2358 - Consent condition on back-channel flows invoked incorrectly
https://shibboleth.atlassian.net/browse/IDP-2358
---
.../resources/net/shibboleth/idp/flows/cas/validate-abstract-flow.xml | 2 +-
.../net/shibboleth/idp/flows/saml/saml1/attribute-query-flow.xml | 2 +-
.../net/shibboleth/idp/flows/saml/saml2/attribute-query-flow.xml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/cas/validate-abstract-flow.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/cas/validate-abstract-flow.xml
index 3902362f3..d4425e9d0 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/cas/validate-abstract-flow.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/cas/validate-abstract-flow.xml
@@ -78,7 +78,7 @@
</action-state>
<decision-state id="CheckConsentCondition">
- <if test="flowRequestContext.getActiveFlow().getApplicationContext().containsBean('shibboleth.consent.AttributeQuery.Condition') and flowRequestContext.getActiveFlow().getApplicationContext().getBean('shibboleth.consent.AttributeQuery.Condition').apply(opensamlProfileRequestContext)"
+ <if test="flowRequestContext.getActiveFlow().getApplicationContext().containsBean('shibboleth.consent.AttributeQuery.Condition') and flowRequestContext.getActiveFlow().getApplicationContext().getBean('shibboleth.consent.AttributeQuery.Condition').test(opensamlProfileRequestContext)"
then="ConsentSetup" else="PopulateOutboundInterceptContext" />
</decision-state>
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml1/attribute-query-flow.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml1/attribute-query-flow.xml
index e8ebfb9a5..93a86f2b7 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml1/attribute-query-flow.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml1/attribute-query-flow.xml
@@ -28,7 +28,7 @@
</action-state>
<decision-state id="CheckConsentCondition">
- <if test="flowRequestContext.getActiveFlow().getApplicationContext().containsBean('shibboleth.consent.AttributeQuery.Condition') and flowRequestContext.getActiveFlow().getApplicationContext().getBean('shibboleth.consent.AttributeQuery.Condition').apply(opensamlProfileRequestContext)"
+ <if test="flowRequestContext.getActiveFlow().getApplicationContext().containsBean('shibboleth.consent.AttributeQuery.Condition') and flowRequestContext.getActiveFlow().getApplicationContext().getBean('shibboleth.consent.AttributeQuery.Condition').test(opensamlProfileRequestContext)"
then="ConsentSetup" else="ContinueProfileWork" />
</decision-state>
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml2/attribute-query-flow.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml2/attribute-query-flow.xml
index 0f9b1df94..93a0a14c0 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml2/attribute-query-flow.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml2/attribute-query-flow.xml
@@ -27,7 +27,7 @@
</action-state>
<decision-state id="CheckConsentCondition">
- <if test="flowRequestContext.getActiveFlow().getApplicationContext().containsBean('shibboleth.consent.AttributeQuery.Condition') and flowRequestContext.getActiveFlow().getApplicationContext().getBean('shibboleth.consent.AttributeQuery.Condition').apply(opensamlProfileRequestContext)"
+ <if test="flowRequestContext.getActiveFlow().getApplicationContext().containsBean('shibboleth.consent.AttributeQuery.Condition') and flowRequestContext.getActiveFlow().getApplicationContext().getBean('shibboleth.consent.AttributeQuery.Condition').test(opensamlProfileRequestContext)"
then="ConsentSetup" else="ContinueProfileWork" />
</decision-state>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list