[
https://issues.apache.org/jira/browse/KNOX-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prabhu Joseph updated KNOX-1857:
--------------------------------
Attachment: KNOX-1857-001.patch
> 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
> Priority: Major
> Attachments: KNOX-1857-001.patch
>
>
> 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)