[java-idp-oidc] branch main updated: JOIDC-131 - Logging of missing relying party ID is confusing

Scott Cantor cantor.2 at osu.edu
Mon Oct 24 21:11:30 UTC 2022


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

scantor 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=1a2b30217a3fb38b74b946f361ea3c731052eebd

The following commit(s) were added to refs/heads/main by this push:
     new 1a2b3021 JOIDC-131 - Logging of missing relying party ID is confusing
1a2b3021 is described below

commit 1a2b30217a3fb38b74b946f361ea3c731052eebd
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Oct 24 17:11:28 2022 -0400

    JOIDC-131 - Logging of missing relying party ID is confusing
    
    https://shibboleth.atlassian.net/browse/JOIDC-131
---
 .../idp/plugin/oidc/op/profile/impl/InitializeRelyingPartyContext.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/impl/InitializeRelyingPartyContext.java b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/impl/InitializeRelyingPartyContext.java
index 7953376e..234611f4 100644
--- a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/impl/InitializeRelyingPartyContext.java
+++ b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/impl/InitializeRelyingPartyContext.java
@@ -141,7 +141,7 @@ public class InitializeRelyingPartyContext extends AbstractProfileAction {
         clientId = clientIDLookupStrategy.apply(inbound ? profileRequestContext.getInboundMessageContext() :
             profileRequestContext.getOutboundMessageContext());
         if (clientId == null) {
-            log.error("{} Unable to obtain client ID", getLogPrefix());
+            log.error("{} Unable to obtain {}", inbound ? "client ID" : "resource/audience ID", getLogPrefix());
             ActionSupport.buildEvent(profileRequestContext, EventIds.INVALID_MSG_CTX);
             return false;
         }

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


More information about the commits mailing list