[java-idp-oidc] branch main updated: OSJ-354: Suffix the PROTOCOL_MESSAGE category with .SAML

Brent Putman putmanb at georgetown.edu
Fri Aug 4 00:40:09 UTC 2023


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

putmanb 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=bbcc5834e042f2a5ac863ba7ba9a4446519b0072

The following commit(s) were added to refs/heads/main by this push:
     new bbcc5834 OSJ-354: Suffix the PROTOCOL_MESSAGE category with .SAML
bbcc5834 is described below

commit bbcc5834e042f2a5ac863ba7ba9a4446519b0072
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Thu Aug 3 20:30:51 2023 -0400

    OSJ-354: Suffix the PROTOCOL_MESSAGE category with .SAML
    
    Change API so that subclasses supply the logging sub-category,
    rather than the full category.
---
 .../idp/plugin/oidc/op/encoding/impl/NimbusResponseEncoder.java         | 2 +-
 .../plugin/oidc/op/oauth2/decoding/impl/BaseOAuth2RequestDecoder.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/encoding/impl/NimbusResponseEncoder.java b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/encoding/impl/NimbusResponseEncoder.java
index 01bed066..0d6b43c9 100644
--- a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/encoding/impl/NimbusResponseEncoder.java
+++ b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/encoding/impl/NimbusResponseEncoder.java
@@ -62,7 +62,7 @@ public class NimbusResponseEncoder extends AbstractHttpServletResponseMessageEnc
     /** Constructor. */
     public NimbusResponseEncoder() {
         super();
-        setProtocolMessageLoggerCategory(BASE_PROTOCOL_MESSAGE_LOGGER_CATEGORY + ".OAUTH2");
+        setProtocolMessageLoggerSubCategory("OAUTH2");
     }
 
     /**
diff --git a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/oauth2/decoding/impl/BaseOAuth2RequestDecoder.java b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/oauth2/decoding/impl/BaseOAuth2RequestDecoder.java
index 5b6e6a5b..90da6398 100644
--- a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/oauth2/decoding/impl/BaseOAuth2RequestDecoder.java
+++ b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/oauth2/decoding/impl/BaseOAuth2RequestDecoder.java
@@ -44,7 +44,7 @@ public abstract class BaseOAuth2RequestDecoder<T extends Request> extends Abstra
     /** Constructor. */
     public BaseOAuth2RequestDecoder() {
         super();
-        setProtocolMessageLoggerCategory(BASE_PROTOCOL_MESSAGE_LOGGER_CATEGORY + ".OAUTH2");
+        setProtocolMessageLoggerSubCategory("OAUTH2");
     }
 
     /**

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


More information about the commits mailing list