You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2012/12/04 02:23:58 UTC

[jira] [Created] (OOZIE-1113) The cookies used in the AltKerberosAuthenticationHandler examples aren't read properly if quoted

Robert Kanter created OOZIE-1113:
------------------------------------

             Summary: The cookies used in the AltKerberosAuthenticationHandler examples aren't read properly if quoted
                 Key: OOZIE-1113
                 URL: https://issues.apache.org/jira/browse/OOZIE-1113
             Project: Oozie
          Issue Type: Bug
    Affects Versions: trunk
            Reporter: Robert Kanter
            Assignee: Robert Kanter
            Priority: Minor
             Fix For: trunk


Some browsers or server implementations will quote cookie values.  The cookies used by the AltKerberosAuthenticationHandler examples in OOZIE-1103 do not properly handle this case.  It should be updated to ignore the quotes if given.  

e.g. {{oozie.web.login.auth=hello}} vs {{oozie.web.login.auth="hello"}}

--
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

[jira] [Commented] (OOZIE-1113) The cookies used in the AltKerberosAuthenticationHandler examples aren't read properly if quoted

Posted by "Robert Kanter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509448#comment-13509448 ] 

Robert Kanter commented on OOZIE-1113:
--------------------------------------

The patch makes the AuthenticationHandler remove the quotes if they exist.  I also made the cookie's value URL-encoded just in case.  
                
> The cookies used in the AltKerberosAuthenticationHandler examples aren't read properly if quoted
> ------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-1113
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1113
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: OOZIE-1113.patch
>
>
> Some browsers or server implementations will quote cookie values.  The cookies used by the AltKerberosAuthenticationHandler examples in OOZIE-1103 do not properly handle this case.  It should be updated to ignore the quotes if given.  
> e.g. {{oozie.web.login.auth=hello}} vs {{oozie.web.login.auth="hello"}}

--
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

[jira] [Updated] (OOZIE-1113) The cookies used in the AltKerberosAuthenticationHandler examples aren't read properly if quoted

Posted by "Robert Kanter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Kanter updated OOZIE-1113:
---------------------------------

    Attachment: OOZIE-1113.patch
    
> The cookies used in the AltKerberosAuthenticationHandler examples aren't read properly if quoted
> ------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-1113
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1113
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: OOZIE-1113.patch
>
>
> Some browsers or server implementations will quote cookie values.  The cookies used by the AltKerberosAuthenticationHandler examples in OOZIE-1103 do not properly handle this case.  It should be updated to ignore the quotes if given.  
> e.g. {{oozie.web.login.auth=hello}} vs {{oozie.web.login.auth="hello"}}

--
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

[jira] [Commented] (OOZIE-1113) The cookies used in the AltKerberosAuthenticationHandler examples aren't read properly if quoted

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509471#comment-13509471 ] 

Hadoop QA commented on OOZIE-1113:
----------------------------------

Testing JIRA OOZIE-1113

Cleaning local svn workspace

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.    {color:green}+1{color} the patch does not introduce any @author tags
.    {color:green}+1{color} the patch does not introduce any tabs
.    {color:green}+1{color} the patch does not introduce any trailing spaces
.    {color:green}+1{color} the patch does not introduce any line longer than 132
.    {color:green}+1{color} the patch does adds/modifies 3 testcase(s)
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT warnings
{color:green}+1 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc warnings
{color:green}+1 COMPILE{color}
.    {color:green}+1{color} HEAD compiles
.    {color:green}+1{color} patch compiles
.    {color:green}+1{color} the patch does not seem to introduce new javac warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.    {color:green}+1{color} the patch does not change any JPA Entity/Colum/Basic/Lob/Transient annotations
.    {color:green}+1{color} the patch does not modify JPA files
{color:green}+1 TESTS{color}
.    Tests run: 925
{color:green}+1 DISTRO{color}
.    {color:green}+1{color} distro tarball builds with the patch 

----------------------------
{color:green}*+1 Overall result, good!, no -1s*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/oozie-trunk-precommit-build/231/
                
> The cookies used in the AltKerberosAuthenticationHandler examples aren't read properly if quoted
> ------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-1113
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1113
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: OOZIE-1113.patch
>
>
> Some browsers or server implementations will quote cookie values.  The cookies used by the AltKerberosAuthenticationHandler examples in OOZIE-1103 do not properly handle this case.  It should be updated to ignore the quotes if given.  
> e.g. {{oozie.web.login.auth=hello}} vs {{oozie.web.login.auth="hello"}}

--
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