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

Phil Smart philip.smart at jisc.ac.uk
Tue Aug 8 16:33:30 UTC 2023


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

philsmart pushed a commit to branch main
in repository java-oidc-common.

View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=4703c8193dbfb31c95632a19dd2917c91fd8641b

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

commit 4703c8193dbfb31c95632a19dd2917c91fd8641b
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue Aug 8 17:33:27 2023 +0100

    OSJ-354 - Suffix the PROTOCOL_MESSAGE category with .SAML
    
     - Set protocol message logger sub category to OAUTH2 for the
    SimpleNimbusResponseEncoder
    
    https://shibboleth.atlassian.net/browse/OSJ-354
---
 .../oidc/profile/encoding/impl/SimpleNimbusResponseEncoder.java      | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/encoding/impl/SimpleNimbusResponseEncoder.java b/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/encoding/impl/SimpleNimbusResponseEncoder.java
index df7a50c..a9ab9f9 100644
--- a/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/encoding/impl/SimpleNimbusResponseEncoder.java
+++ b/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/encoding/impl/SimpleNimbusResponseEncoder.java
@@ -38,6 +38,11 @@ public class SimpleNimbusResponseEncoder extends AbstractHttpServletResponseMess
 
     /** Class logger. */
     @Nonnull private final Logger log = LoggerFactory.getLogger(SimpleNimbusResponseEncoder.class);
+    
+    /** Constructor. */
+    public SimpleNimbusResponseEncoder() {
+    	setProtocolMessageLoggerSubCategory("OAUTH2");
+    }
 
     /** {@inheritDoc} */
     @Override

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


More information about the commits mailing list