[
https://issues.apache.org/jira/browse/KNOX-2808?focusedWorklogId=811579&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-811579
]
ASF GitHub Bot logged work on KNOX-2808:
----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Sep/22 12:46
Start Date: 23/Sep/22 12:46
Worklog Time Spent: 10m
Work Description: smolnar82 opened a new pull request, #637:
URL: https://github.com/apache/knox/pull/637
## What changes were proposed in this pull request?
Added some very useful log message entries on `DEBUG` level.
## How was this patch tested?
Manually tested.
Issue Time Tracking
-------------------
Worklog Id: (was: 811579)
Remaining Estimate: 0h
Time Spent: 10m
> Log proxyuser authentication outcome for Knox Tokens
> ----------------------------------------------------
>
> Key: KNOX-2808
> URL: https://issues.apache.org/jira/browse/KNOX-2808
> Project: Apache Knox
> Issue Type: Improvement
> Components: Server
> Affects Versions: 2.0.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 2.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In the case of Knox's HadoopAuth filter, if the user executes proxyuser
> authentication, there is DEBUG level log entries in gateway.log with the
> outcome of the proxyuser authentication:
> {noformat}
> @Message( level = MessageLevel.DEBUG, text = "Proxy user Authentication
> successful" )
> void hadoopAuthProxyUserSuccess();
> @Message( level = MessageLevel.DEBUG, text = "Proxy user Authentication
> failed: {0}" )
> void hadoopAuthProxyUserFailed(@StackTrace Throwable t); {noformat}
> We need similar logs in the Knox Token proxyuser authentication path too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)