Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2808

Log proxyuser authentication outcome for Knox Tokens

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Server
    • None

    Description

      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:

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

      We need similar logs in the Knox Token proxyuser authentication path too.

      Attachments

        Issue Links

          Activity

            People

              smolnar Sandor Molnar
              smolnar Sandor Molnar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m