[java-idp-oidc] 01/02: Fixed a log message to start with the log prefix.

Henri Mikkonen henri.mikkonen at iki.fi
Wed Sep 11 13:19:07 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=93e7da704b4d9e06b460aefe4dc220dcf1ac5d8c

commit 93e7da704b4d9e06b460aefe4dc220dcf1ac5d8c
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Wed Sep 11 16:14:10 2024 +0300

    Fixed a log message to start with the log prefix.
---
 .../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 9f6426c6..5b7d708b 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
@@ -138,7 +138,7 @@ public class InitializeRelyingPartyContext extends AbstractProfileAction {
         clientId = clientIDLookupStrategy.apply(inbound ? profileRequestContext.getInboundMessageContext() :
             profileRequestContext.getOutboundMessageContext());
         if (clientId == null) {
-            log.error("{} Unable to obtain {}", inbound ? "client ID" : "resource/audience ID", getLogPrefix());
+            log.error("{} Unable to obtain {}", getLogPrefix(), inbound ? "client ID" : "resource/audience ID");
             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