[java-plugin-shibd-oidc] branch dev/JSHIBDOIDC-31-cred-resolver updated: Fix JWKSet template name

Codeberg noreply at shibboleth.net
Wed Nov 4 17:52:02 UTC 2026


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

codeberg pushed a commit to branch dev/JSHIBDOIDC-31-cred-resolver
in repository java-plugin-shibd-oidc.

View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd-oidc/commit/887a9ff5372e8a16d895476543654515bf07dc9b

The following commit(s) were added to refs/heads/dev/JSHIBDOIDC-31-cred-resolver by this push:
     new 887a9ff  Fix JWKSet template name
887a9ff is described below

commit 887a9ff5372e8a16d895476543654515bf07dc9b
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed Nov 4 17:51:55 2026 +0000

    Fix JWKSet template name
---
 .../impl/JWKSetCredentialStorageServiceResolver.java       | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/sp-oidc-impl/src/main/java/net/shibboleth/sp/jose/credential/impl/JWKSetCredentialStorageServiceResolver.java b/sp-oidc-impl/src/main/java/net/shibboleth/sp/jose/credential/impl/JWKSetCredentialStorageServiceResolver.java
index b87d0aa..6fc9925 100644
--- a/sp-oidc-impl/src/main/java/net/shibboleth/sp/jose/credential/impl/JWKSetCredentialStorageServiceResolver.java
+++ b/sp-oidc-impl/src/main/java/net/shibboleth/sp/jose/credential/impl/JWKSetCredentialStorageServiceResolver.java
@@ -73,15 +73,15 @@ public class JWKSetCredentialStorageServiceResolver extends AbstractStorageServi
     @Nonnull private final Logger log = LoggerFactory.getLogger(JWKSetCredentialStorageServiceResolver.class);
     
     /** Template used to construct the storage key for the JWK Set. */
-    @Nonnull private String jwkTemplateString;
+    @Nonnull private String jwksTemplateString;
     
     /** Velocity template for the JWK Set storage key. */
-    @NonnullAfterInit private Template jwkTemplate;
+    @NonnullAfterInit private Template jwksTemplate;
 
     /** Constructor.*/ 
 	public JWKSetCredentialStorageServiceResolver() {
 		super(JWKCredential.class);
-		jwkTemplateString = "sp.jwks";
+		jwksTemplateString = "sp.jwks";
 	}
 	
     /**
@@ -91,10 +91,10 @@ public class JWKSetCredentialStorageServiceResolver extends AbstractStorageServi
      * 
      * @param template template string
      */
-    public void setJwkTemplateString(@Nonnull @NotEmpty final String template) {
+    public void setJwksTemplateString(@Nonnull @NotEmpty final String template) {
         checkSetterPreconditions();
         
-        jwkTemplateString = Constraint.isNotNull(StringSupport.trimOrNull(template),
+        jwksTemplateString = Constraint.isNotNull(StringSupport.trimOrNull(template),
                 "JSON Web Key template cannot be null or empty");
     }
     
@@ -103,7 +103,7 @@ public class JWKSetCredentialStorageServiceResolver extends AbstractStorageServi
     protected void doInitialize() throws ComponentInitializationException {
         super.doInitialize();
         
-        jwkTemplate = Template.fromTemplate(getVelocityEngine(), jwkTemplateString,
+        jwksTemplate = Template.fromTemplate(getVelocityEngine(), jwksTemplateString,
                 StandardCharsets.UTF_8);
     }
     
@@ -139,7 +139,7 @@ public class JWKSetCredentialStorageServiceResolver extends AbstractStorageServi
 		final String keyId = keyIdCrit != null ? StringSupport.trimOrNull(keyIdCrit.getKeyId()) : null; 
 
         try {        	
-            final String keyStorageKey = jwkTemplate.merge(velocityContext);            
+            final String keyStorageKey = jwksTemplate.merge(velocityContext);            
 	        log.debug("CredentialResolver {}: Resolved storage key ({})", getId(), keyStorageKey);            
             jwksData = getStorageService().read(storageContext, keyStorageKey);  
             

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


More information about the commits mailing list