[java-oidc-common] branch main updated: Identity and initialize the newly constructed OIDCMetadataPolicyResolver.
Henri Mikkonen
henri.mikkonen at iki.fi
Wed Mar 9 08:50:08 UTC 2022
This is an automated email from the git hooks/post-receive script.
hjmikkon pushed a commit to branch main
in repository java-oidc-common.
View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=2d051476f4b90ade0eaa65bf72d100f15998f8a5
The following commit(s) were added to refs/heads/main by this push:
new 2d05147 Identity and initialize the newly constructed OIDCMetadataPolicyResolver.
2d05147 is described below
commit 2d051476f4b90ade0eaa65bf72d100f15998f8a5
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Wed Mar 9 10:50:03 2022 +0200
Identity and initialize the newly constructed OIDCMetadataPolicyResolver.
---
.../oidc/metadata/cache/impl/MetadataPolicyLookupStrategyFactory.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/cache/impl/MetadataPolicyLookupStrategyFactory.java b/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/cache/impl/MetadataPolicyLookupStrategyFactory.java
index aa95fb6..dc16cc3 100644
--- a/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/cache/impl/MetadataPolicyLookupStrategyFactory.java
+++ b/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/cache/impl/MetadataPolicyLookupStrategyFactory.java
@@ -59,7 +59,9 @@ public class MetadataPolicyLookupStrategyFactory {
final BatchMetadataCache<String, Map<String, MetadataPolicy>> cache = builder.build(spec);
- final MetadataPolicyResolver resolver = new OIDCMetadataPolicyResolver(cache);
+ final OIDCMetadataPolicyResolver resolver = new OIDCMetadataPolicyResolver(cache);
+ resolver.setId(cacheId + "-resolver");
+ resolver.initialize();
final ResolverBasedRegistrationMetadataPolicyLookupFunction function =
new ResolverBasedRegistrationMetadataPolicyLookupFunction();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list