[
https://issues.apache.org/jira/browse/KNOX-2966?focusedWorklogId=884285&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-884285
]
ASF GitHub Bot logged work on KNOX-2966:
----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Oct/23 12:26
Start Date: 10/Oct/23 12:26
Worklog Time Spent: 10m
Work Description: smolnar82 merged PR #802:
URL: https://github.com/apache/knox/pull/802
Issue Time Tracking
-------------------
Worklog Id: (was: 884285)
Time Spent: 20m (was: 10m)
> Improve hadoop-jwt cookie logging
> ---------------------------------
>
> Key: KNOX-2966
> URL: https://issues.apache.org/jira/browse/KNOX-2966
> Project: Apache Knox
> Issue Type: Improvement
> Components: KnoxSSO
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 2.1.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, the following log messages are displayed when the {{hadoop-jwt}}
> cookie is added to the response during the KnoxSSO flow:
> - DEBUG: {{Adding the following JWT token as a cookie: $ENTIRE_JWT}}
> - INFO: JWT cookie successfully added.
> - ERROR: {{Unable to add cookie to response. $ERROR_MSG: $ERROR_STACK}}
> Possible improvements:
> - use {{org.apache.knox.gateway.util.Tokens.getTokenDisplayText(String)}} to
> mask the entire JWT in the {{DEBUG}} message above
> - add the masked JWT info in the {{INFO}} message so that we'll have a better
> understanding of when a certain SSO cookie was issued/added in the response.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)