[java-plugin-shibd-oidc] branch dev/JSHIBDOIDC-31-cred-resolver updated: Add comment to the resolver for UT-8 conversion

Codeberg noreply at shibboleth.net
Tue Nov 17 16:26:14 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/59dbeaaa8f21f372dd781971b2d59fb3e6e37e36

The following commit(s) were added to refs/heads/dev/JSHIBDOIDC-31-cred-resolver by this push:
     new 59dbeaa  Add comment  to the resolver for UT-8 conversion
59dbeaa is described below

commit 59dbeaaa8f21f372dd781971b2d59fb3e6e37e36
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue Nov 17 16:25:59 2026 +0000

    Add comment  to the resolver for UT-8 conversion
---
 .../net/shibboleth/sp/jose/credential/ClientSecretLookupStrategy.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sp-oidc-api/src/main/java/net/shibboleth/sp/jose/credential/ClientSecretLookupStrategy.java b/sp-oidc-api/src/main/java/net/shibboleth/sp/jose/credential/ClientSecretLookupStrategy.java
index 3023e58..08fb993 100644
--- a/sp-oidc-api/src/main/java/net/shibboleth/sp/jose/credential/ClientSecretLookupStrategy.java
+++ b/sp-oidc-api/src/main/java/net/shibboleth/sp/jose/credential/ClientSecretLookupStrategy.java
@@ -82,7 +82,9 @@ public class ClientSecretLookupStrategy implements Function<ProfileRequestContex
 			}
 			
 			if (cred != null && cred.getSecretKey() != null && cred.getSecretKey().getEncoded() != null) {
-				// We know the client secret is UTF_8 encoded.
+				// OAuth/OIDC client_secrets are stored as UTF-8 strings and this strategy assumes only a client secret
+				// will be resolved. 
+				
             	// TODO long term there is no real benefit of converting this to a ClientSecretCredential other
             	// than compatibility with the profile config interface
             	return new DefaultClientSecretCredential(new String(cred.getSecretKey().getEncoded(), 

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


More information about the commits mailing list