[ 
https://issues.apache.org/jira/browse/KNOX-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17773661#comment-17773661
 ] 

ASF subversion and git services commented on KNOX-2966:
-------------------------------------------------------

Commit 895022c4539a81543f5f0e946550cfc3feff3275 in knox's branch 
refs/heads/master from Sandor Molnar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=895022c45 ]

KNOX-2966 - Improved logging around KnoxSSO cookie management (#802)



> 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)

Reply via email to