You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/04/25 22:04:04 UTC

[jira] [Commented] (KNOX-911) Ability to scope cookies to a given Path

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

ASF subversion and git services commented on KNOX-911:
------------------------------------------------------

Commit 1c9020182aca0bfa255059fb9040463c7abe7984 in knox's branch refs/heads/master from [~lmccay]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=1c90201 ]

KNOX-911 - Ability to scope cookies to a given Path (Attila Kanto via lmccay)

> Ability to scope cookies to a given Path
> ----------------------------------------
>
>                 Key: KNOX-911
>                 URL: https://issues.apache.org/jira/browse/KNOX-911
>             Project: Apache Knox
>          Issue Type: Wish
>            Reporter: Attila Kanto
>            Assignee: Attila Kanto
>             Fix For: 0.13.0
>
>         Attachments: knox-911.patch
>
>
> If there are multiple individual Knox instances behind of a reverse proxy, then it would be very useful if the Cookies could be scoped to a given Path.
> If a reverse proxy is put at the font of multiple Knox instances then scoping the Cookies to domain is not sufficient since the /gateway1/... and /gateway2/... cookies will overwrite each other.
> {code}
>                           +---------------------------------+
>                           |                                 |
>                           |        Reverse Proxy            |
>                           |                                 |
>                           +---------------------------------+
>                                   |            |
>                /gateway1/topology |            | /gateway2/topology
>                                   |            |
>      +----------------------------v----+    +--v------------------------------+
>      |                                 |    |                                 |
>      |  Knox 1 (/gateway1/topology)    |    |  Knox 2 (/gateway2/topology)    |
>      |                                 |    |                                 |
>      +---------------------------------+    +---------------------------------+
> {code}
> Proposal:
> Cookies can be scoped with  Set-Cookie: Path=/somepath header field. 
> It would be very convenient if this scope path could be set in gateway-site.xml and Knox would return it in Set-Cookie header field to clients.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)