[java-oidc-common] branch main updated: Move off deprecated methods.

Scott Cantor cantor.2 at osu.edu
Thu Nov 9 20:17:06 UTC 2023


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

scantor 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=7f64ccf0a158e64aa0c592d02ab62e562b4649f4

The following commit(s) were added to refs/heads/main by this push:
     new 7f64ccf  Move off deprecated methods.
7f64ccf is described below

commit 7f64ccf0a158e64aa0c592d02ab62e562b4649f4
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Nov 9 15:17:03 2023 -0500

    Move off deprecated methods.
---
 .../metadata/keyinfo/ext/impl/provider/JWKSReferenceProvider.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/keyinfo/ext/impl/provider/JWKSReferenceProvider.java b/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/keyinfo/ext/impl/provider/JWKSReferenceProvider.java
index 2555f5c..c34807f 100644
--- a/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/keyinfo/ext/impl/provider/JWKSReferenceProvider.java
+++ b/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/keyinfo/ext/impl/provider/JWKSReferenceProvider.java
@@ -52,14 +52,14 @@ public class JWKSReferenceProvider extends AbstractKeyInfoProvider {
             @Nonnull final XMLObject keyInfoChild, @Nullable final CriteriaSet criteriaSet,
             @Nonnull final KeyInfoResolutionContext kiContext) throws SecurityException {
         final JwksUri jwksUri = getJwksUri(keyInfoChild);
-        if (jwksUri == null || StringSupport.trimOrNull(jwksUri.getValue()) == null) {
+        if (jwksUri == null || StringSupport.trimOrNull(jwksUri.getURI()) == null) {
             return null;
         }
         final URI uri;
         try {
-            uri = new URI(jwksUri.getValue());
+            uri = new URI(jwksUri.getURI());
         } catch (final URISyntaxException e) {
-            log.warn("Could not build URI from the given value {}", jwksUri.getValue(), e);
+            log.warn("Could not build URI from the given value {}", jwksUri.getURI(), e);
             return null;
         }
         final LazySet<Credential> credentials = new LazySet<>();

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


More information about the commits mailing list