You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2019/05/07 14:35:00 UTC
[jira] [Commented] (KNOX-1857) YARNUIV2 fails with Authentication
Required with kerberos authentication type
[ https://issues.apache.org/jira/browse/KNOX-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16834815#comment-16834815 ]
Kevin Risden commented on KNOX-1857:
------------------------------------
[~Prabhu Joseph] - I think this is a duplicate of KNOX-1596
> 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
>
> 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)