[java-idp-oidc] 14/14: Fixed typo on log message + Javadoc fix.
Henri Mikkonen
henri.mikkonen at iki.fi
Wed Jan 3 14:07:21 UTC 2024
This is an automated email from the git hooks/post-receive script.
hjmikkon pushed a commit to branch main
in repository java-idp-oidc.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=5ebffd5fcdef3f6286be3e548e068c90337c038d
commit 5ebffd5fcdef3f6286be3e548e068c90337c038d
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