You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandor Molnar (Jira)" <ji...@apache.org> on 2022/09/23 12:36:00 UTC

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

Sandor Molnar created KNOX-2808:
-----------------------------------

             Summary: 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
             Fix For: 2.0.0


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)