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

YARNUIV2 fails with Authentication Required with kerberos authentication type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.3.0
    • Server
    • None

    Description

      YARNUIV2 fails with Authentication Required with kerberos authentication type whereas YARNUI works fine.

      Problem accessing /ui2/. Reason:
      
      Authentication required
      

      As per RM logs, Knox sends request with Authorization field which does not start with Negotiate.
      In case of YARNUI, this field is excluded by the Dispatcher.

      2019-05-02 15:32:30,808 WARN  server.KerberosAuthenticationHandler (KerberosAuthenticationHandler.java:authenticate(274)) - 'Authorization' does not start with 'Negotiate' :  Basic YW1iYXJpLXFhOkJhZFBhc3MjMQ==
      

      YARNUIV2 service.xml configures PassAllHeadersDispatch whereas YARNUI has DefaultDispatch which excludes Authorization field.

      Attachments

        1. KNOX-1857-001.patch
          1 kB
          Prabhu Joseph

        Activity

          People

            prabhujoseph Prabhu Joseph
            prabhujoseph Prabhu Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: