[JIRA] (JOIDC-112) PROTOCOL_MESSAGE.OAUTH2 log appender to trace all the exchanged protocol messages

Henri Mikkonen (Jira) jira at shibboleth.atlassian.net
Tue Jun 28 14:46:34 UTC 2022


Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd ) *commented* on JOIDC-112 ( https://shibboleth.atlassian.net/browse/JOIDC-112?atlOrigin=eyJpIjoiYTcwOTM1M2UxZWIxNGE0Y2IwNzZlMzZlY2I2YWJjZTUiLCJwIjoiaiJ9 )

Re: PROTOCOL_MESSAGE.OAUTH2 log appender to trace all the exchanged protocol messages ( https://shibboleth.atlassian.net/browse/JOIDC-112?atlOrigin=eyJpIjoiYTcwOTM1M2UxZWIxNGE0Y2IwNzZlMzZlY2I2YWJjZTUiLCJwIjoiaiJ9 )

After more analysis, decided to switch the decoder/encoder class loggers' DEBUG-level inbound/outbound request/response logging into PROTOCOL_MESSAGE.OAUTH2 on TRACE-level.

The logic is that *PROTOCOL_MESSAGE.OAUTH2* on *DEBUG* -level is not logging secrets, but *TRACE* -level is.

( https://shibboleth.atlassian.net/browse/JOIDC-112#add-comment?atlOrigin=eyJpIjoiYTcwOTM1M2UxZWIxNGE0Y2IwNzZlMzZlY2I2YWJjZTUiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JOIDC-112#add-comment?atlOrigin=eyJpIjoiYTcwOTM1M2UxZWIxNGE0Y2IwNzZlMzZlY2I2YWJjZTUiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100201- sha1:66eda1f )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220628/0a490475/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-39fecacf-9688-4d73-8e55-dd372d25c51d
Type: image/png
Size: 341 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220628/0a490475/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-d022422c-0516-475a-bea0-a24214fc6905
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220628/0a490475/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-af4adbfb-a769-4fa5-b827-c9bf02615180
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220628/0a490475/attachment-0005.png>


More information about the commits mailing list