[java-idp-oidc] 01/03: JOIDC-252 - Mechanism for custom metadata lookup flows
Codeberg
noreply at shibboleth.net
Mon Nov 23 10:53:29 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-idp-oidc.
View the commit online:
https://codeberg.org/Shibboleth/java-idp-oidc/commit/a06d7815b811fa72039ddbb44b582498a3b96faf
commit a06d7815b811fa72039ddbb44b582498a3b96faf
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Mon Nov 23 08:46:11 2026 +0200
JOIDC-252 - Mechanism for custom metadata lookup flows
https://shibboleth.atlassian.net/browse/JOIDC-252
Run the activation condition before signalling the flow
---
.../oidc/op/metadata/impl/SelectMetadataLookupExtensionFlow.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/metadata/impl/SelectMetadataLookupExtensionFlow.java b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/metadata/impl/SelectMetadataLookupExtensionFlow.java
index 433cc4a1..bdf4f2df 100644
--- a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/metadata/impl/SelectMetadataLookupExtensionFlow.java
+++ b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/metadata/impl/SelectMetadataLookupExtensionFlow.java
@@ -181,10 +181,14 @@ public class SelectMetadataLookupExtensionFlow extends AbstractProfileAction {
metadataLookupExtensionContext.setProfileId(profileId);
}
}
+ assert availableFlows != null;
for (final MetadataLookupExtensionFlowDescriptor flow : availableFlows) {
log.trace("{} Checking flow {}", getLogPrefix(), flow.getId());
if (metadataLookupExtensionContext.getAttemptedFlows().contains(flow)) {
log.debug("{} Flow {} has already been attempted", getLogPrefix(), flow.getId());
+ } else if (!flow.test(profileRequestContext)) {
+ log.debug("{} Flow {} is not active for this request", getLogPrefix(), flow.getId());
+ metadataLookupExtensionContext.getAttemptedFlows().add(flow);
} else {
log.debug("{} Selecting flow {}", getLogPrefix(), flow.getId());
metadataLookupExtensionContext.getAttemptedFlows().add(flow);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list