[java-idp-oidc] branch dev/JOIDC-13 updated: Fixed typo on log message + Javadoc fix.

Henri Mikkonen henri.mikkonen at iki.fi
Fri Dec 8 06:42:49 UTC 2023


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

hjmikkon pushed a commit to branch dev/JOIDC-13
in repository java-idp-oidc.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=3dca15964e43074edf5683c3c6402d0ab32cf241

The following commit(s) were added to refs/heads/dev/JOIDC-13 by this push:
     new 3dca1596 Fixed typo on log message + Javadoc fix.
3dca1596 is described below

commit 3dca15964e43074edf5683c3c6402d0ab32cf241
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Dec 8 08:42:43 2023 +0200

    Fixed typo on log message + Javadoc fix.
---
 .../context/navigate/LogoutRequestClientIDLookupFunction.java      | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/context/navigate/LogoutRequestClientIDLookupFunction.java b/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/context/navigate/LogoutRequestClientIDLookupFunction.java
index 3f97017b..5e80f4c8 100644
--- a/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/context/navigate/LogoutRequestClientIDLookupFunction.java
+++ b/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/context/navigate/LogoutRequestClientIDLookupFunction.java
@@ -66,7 +66,7 @@ public class LogoutRequestClientIDLookupFunction implements ContextDataLookupFun
                     if (requestClientId.toString().equals(idTokenClientId)) {
                         return requestClientId;
                     }
-                    log.error("The cliend_id in id_token_hint {} did not match with the requested client_id {}",
+                    log.error("The client_id in id_token_hint {} did not match with the requested client_id {}",
                             idTokenClientId, requestClientId);
                     return null;
                 } else {
@@ -78,6 +78,11 @@ public class LogoutRequestClientIDLookupFunction implements ContextDataLookupFun
         return null;
     }
 
+    /**
+     * Gets the first audience value of the given {@link SignedJWT}.
+     * @param jwt the source
+     * @return the first item in the audience array, or null if none existed
+     */
     @Nullable protected String getClientIdFromJwt(final SignedJWT jwt) {
         try {
             final List<String> audience = jwt.getJWTClaimsSet().getAudience();

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


More information about the commits mailing list