You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Minder (JIRA)" <ji...@apache.org> on 2014/02/24 19:51:19 UTC
[jira] [Commented] (KNOX-269) Set JSSESSIONID cookie as HttpOnly
and Secure.
[ https://issues.apache.org/jira/browse/KNOX-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13910642#comment-13910642 ]
Kevin Minder commented on KNOX-269:
-----------------------------------
Took a different approach that uses standard Servlet 3.0 config vs shiro specific config. The resulting cookie looks like this.
Set-Cookie: JSESSIONID=1b5jkp8aljhiouj8a3qap2yxj;Path=/gateway/cluster;Secure;HttpOnly
> Set JSSESSIONID cookie as HttpOnly and Secure.
> ----------------------------------------------
>
> Key: KNOX-269
> URL: https://issues.apache.org/jira/browse/KNOX-269
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 0.3.0
> Reporter: Dilli Arumugam
> Assignee: Kevin Minder
> Fix For: 0.4.0
>
> Attachments: 0001-KNOX-269-Set-JSSESSIONID-cookie-as-HttpOnly-and-Secu.patch
>
>
> Knox, at present, leverages JSESSIONID as session cookie,
> This needs to be flagged as httpOnly.
> Please see
> https://www.owasp.org/index.php/HttpOnly
> for some context on httpOnly flag.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)