[
https://issues.apache.org/jira/browse/AMBARI-19389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15806659#comment-15806659
]
Hudson commented on AMBARI-19389:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #6383 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/6383/])
Revert "AMBARI-19389. Authentication negotiation HTTP response should be
(yusaku:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=fbcad4fb4e22e88ff8e1487ea385911bfe41ad09])
* (edit) ambari-server/src/main/resources/webapp/WEB-INF/spring-security.xml
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/security/AmbariEntryPoint.java
* (delete)
ambari-server/src/test/java/org/apache/ambari/server/security/AmbariEntryPointTest.java
AMBARI-19389. Authentication negotiation HTTP response should be sent (rlevas:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=03cd5cedb76a49ebfe5c6e161080c48eeeb0efdc])
* (add)
ambari-server/src/test/java/org/apache/ambari/server/security/AmbariEntryPointTest.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/security/AmbariEntryPoint.java
* (edit) ambari-server/src/main/resources/webapp/WEB-INF/spring-security.xml
> 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)