[
https://issues.apache.org/jira/browse/HADOOP-10379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919860#comment-13919860
]
Haohui Mai commented on HADOOP-10379:
-------------------------------------
The v1 patch generates the cookie on its own. This is because servlet 2.5 does
not support the {{HttpOnly}} flag. See HADOOP-9244 for more details.
I've tested the patch on a secure cluster and it worked as expected.
> Protect authentication cookies with the HttpOnly and Secure flags
> -----------------------------------------------------------------
>
> Key: HADOOP-10379
> URL: https://issues.apache.org/jira/browse/HADOOP-10379
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Haohui Mai
> Assignee: Haohui Mai
> Attachments: HADOOP-10379.000.patch, HADOOP-10379.001.patch
>
>
> Browser vendors have adopted proposals to enhance the security of HTTP
> cookies. For example, the server can mark a cookie as {{Secure}} so that it
> will not be transfer via plain-text HTTP protocol, and the server can mark a
> cookie as {{HttpOnly}} to prohibit the JavaScript to access that cookie.
> This jira proposes to adopt these flags in Hadoop to protect the HTTP cookie
> used for authentication purposes.
--
This message was sent by Atlassian JIRA
(v6.2#6252)