[
https://issues.apache.org/jira/browse/AMBARI-19389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Levas resolved AMBARI-19389.
-----------------------------------
Resolution: Fixed
Committed to trunk
{noformat}
commit 03cd5cedb76a49ebfe5c6e161080c48eeeb0efdc
Author: Robert Levas <[email protected]>
Date: Fri Jan 6 20:43:44 2017 -0500
{noformat}
Committed to branch-2.5
{noformat}
commit d346558c129684ca06e9dc84d666321236c51840
Author: Robert Levas <[email protected]>
Date: Fri Jan 6 20:46:28 2017 -0500
{noformat}
> Authentication negotiation HTTP response should be sent when Kerberos
> authentication is enabled
> -----------------------------------------------------------------------------------------------
>
> Key: AMBARI-19389
> URL: https://issues.apache.org/jira/browse/AMBARI-19389
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.5.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Labels: authentication, kerberos, security
> Fix For: 2.5.0
>
> Attachments: AMBARI-19389_branch-2.5_01.patch,
> AMBARI-19389_branch-2.5_02.patch, AMBARI-19389_trunk_01.patch,
> AMBARI-19389_trunk_02.patch
>
>
> Authentication negotiation HTTP response should be automatically sent when
> needed when Kerberos authentication is enabled.
> The expected HTTP response during authentication failure when Kerberos
> authentication into Ambari is enabled is as follows:
> {noformat}
> HTTP/1.1 401 Authentication requested
> WWW-Authenticate: Negotiate
> {noformat}
> When Kerberos authentication into Ambari is not enabled the expected HTTP
> response for an authentication failure is:
> {noformat}
> HTTP/1.1 403 Missing authentication token
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)