You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/09/26 12:41:00 UTC

[jira] [Commented] (KNOX-2808) Log proxyuser authentication outcome for Knox Tokens

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

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

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

KNOX-2808 - Added log entries upon successful/failed token impersonation (#637)



> 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: 20m
>  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)