[java-plugin-shibd] branch main updated: JSHIBD-25 - Develop necessary CredentialResolvers for SP service

Codeberg noreply at shibboleth.net
Wed Aug 26 15:59:58 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-plugin-shibd.

View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd/commit/de600afe89f051e063d65eca4a6eaa38fc603c5f

The following commit(s) were added to refs/heads/main by this push:
     new de600af  JSHIBD-25 - Develop necessary CredentialResolvers for SP service
de600af is described below

commit de600afe89f051e063d65eca4a6eaa38fc603c5f
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Wed Aug 26 11:59:27 2026 -0400

    JSHIBD-25 - Develop necessary CredentialResolvers for SP service
    
    https://shibboleth.atlassian.net/browse/JSHIBD-25
    
    Rename entityID placeholder in templates.
---
 .../sp/credential/AbstractStorageServiceCredentialResolver.java       | 4 ++--
 .../sp/credential/impl/X509CredentialStorageServiceResolverTest.java  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/credential/AbstractStorageServiceCredentialResolver.java b/sp-server-api/src/main/java/net/shibboleth/sp/credential/AbstractStorageServiceCredentialResolver.java
index be05604..56a8ea4 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/credential/AbstractStorageServiceCredentialResolver.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/credential/AbstractStorageServiceCredentialResolver.java
@@ -108,10 +108,10 @@ public abstract class AbstractStorageServiceCredentialResolver<T extends Credent
     @Nonnull @NotEmpty public static final String CONTEXT_KEY_APPLICATION_ID = "applicationID";
     
     /** The Velocity context variable name for the entity ID. */
-    @Nonnull @NotEmpty public static final String CONTEXT_KEY_ENTITY_ID = "entityID";
+    @Nonnull @NotEmpty public static final String CONTEXT_KEY_ENTITY_ID = "relyingPartyID";
 
     /** The Velocity context variable name for the transformed entity ID. */
-    @Nonnull @NotEmpty public static final String CONTEXT_KEY_TX_ENTITY_ID = "transformedEntityID";
+    @Nonnull @NotEmpty public static final String CONTEXT_KEY_TX_ENTITY_ID = "transformedRelyingPartyID";
     
     /** The Velocity context variable name for the {@link ProfileRequestContext}. */
     @Nonnull @NotEmpty public static final String CONTEXT_KEY_PRC = "profileRequestContext";
diff --git a/sp-server-impl/src/test/java/net/shibboleth/sp/credential/impl/X509CredentialStorageServiceResolverTest.java b/sp-server-impl/src/test/java/net/shibboleth/sp/credential/impl/X509CredentialStorageServiceResolverTest.java
index 3899c8f..93a7fe7 100644
--- a/sp-server-impl/src/test/java/net/shibboleth/sp/credential/impl/X509CredentialStorageServiceResolverTest.java
+++ b/sp-server-impl/src/test/java/net/shibboleth/sp/credential/impl/X509CredentialStorageServiceResolverTest.java
@@ -185,7 +185,7 @@ public class X509CredentialStorageServiceResolverTest {
         resolver.setId("test");
         resolver.setStorageService(storage);
         resolver.setVelocityEngine(VelocityEngine.newVelocityEngine());
-        resolver.setContextTemplate("idps/$transformedEntityID");
+        resolver.setContextTemplate("idps/$transformedRelyingPartyID");
         resolver.setUsageMap(Map.of(UsageType.SIGNING, "", UsageType.ENCRYPTION, "", UsageType.UNSPECIFIED, ""));
         resolver.initialize();
         

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


More information about the commits mailing list