You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Prabhu Joseph (JIRA)" <ji...@apache.org> on 2019/05/07 14:29:00 UTC
[jira] [Created] (KNOX-1857) YARNUIV2 fails with Authentication
Required with kerberos authentication type
Prabhu Joseph created KNOX-1857:
-----------------------------------
Summary: YARNUIV2 fails with Authentication Required with kerberos authentication type
Key: KNOX-1857
URL: https://issues.apache.org/jira/browse/KNOX-1857
Project: Apache Knox
Issue Type: Bug
Components: Server
Affects Versions: 1.0.0
Reporter: Prabhu Joseph
YARNUIV2 fails with Authentication Required with kerberos authentication type whereas YARNUI works fine.
{code}
Problem accessing /ui2/. Reason:
Authentication required
{code}
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.
{code}
2019-05-02 15:32:30,808 WARN server.KerberosAuthenticationHandler (KerberosAuthenticationHandler.java:authenticate(274)) - 'Authorization' does not start with 'Negotiate' : Basic YW1iYXJpLXFhOkJhZFBhc3MjMQ==
{code}
YARNUIV2 service.xml configures PassAllHeadersDispatch whereas YARNUI has DefaultDispatch which excludes Authorization field.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)