[ 
https://issues.apache.org/jira/browse/OOZIE-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465945#comment-13465945
 ] 

Robert Kanter commented on OOZIE-1003:
--------------------------------------

Looks good to me; it failed without the patch and passes with the patch.
                
> TestOozieCLI.testSubmitDoAs() should disable anonymous request
> --------------------------------------------------------------
>
>                 Key: OOZIE-1003
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1003
>             Project: Oozie
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 3.3.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: trunk
>
>         Attachments: OOZIE-1003.patch
>
>
> This test is failing with Hadoop trunk after HADOOP-8855.
> With HADOOP-8855, {{KerberosAuthenticationHandler}} only delegates to 
> {{PseudoAuthenticationHandler}} if the response is not HTTP_OK (before would 
> always delegate unless the response starts a SPNEGO NEGOTIATE.
>  
> The testcase was wrongfully assuming that if the 
> {{PseudoAuthenticationHandler}} is configured to accept anonymous request the 
> user.name would be avail.
> This testcase tests doAs, which cannot be done by an anonymous user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to