[java-oidc-common] branch main updated: Add return statement when no identifier found

Phil Smart philip.smart at jisc.ac.uk
Fri Apr 28 10:22:27 UTC 2023


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

philsmart 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=a40a255bbf63cb0416599d9dc7266d63c62ce6d6

The following commit(s) were added to refs/heads/main by this push:
     new a40a255  Add return statement when no identifier found
a40a255 is described below

commit a40a255bbf63cb0416599d9dc7266d63c62ce6d6
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Apr 28 11:22:25 2023 +0100

    Add return statement when no identifier found
---
 .../net/shibboleth/oidc/metadata/cache/impl/DynamicMetadataCache.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/cache/impl/DynamicMetadataCache.java b/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/cache/impl/DynamicMetadataCache.java
index 7ba223e..5334eee 100644
--- a/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/cache/impl/DynamicMetadataCache.java
+++ b/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/cache/impl/DynamicMetadataCache.java
@@ -512,6 +512,7 @@ public class DynamicMetadataCache<IdentifierType, MetadataType>
         
         if (extractedIdentifier == null) {
             log.warn("{} Metadata identifier could not be extracted, no further processing performed", getLogPrefix());
+            return;
         }
         
         // equality method of the identifier is required to be implemented correctly.

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


More information about the commits mailing list