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

Attila Kanto commented on KNOX-911:
-----------------------------------

[~sumitgupta225]  The concept is to provide single point of access to all 
clusters e.g. hadoop.mycompany.com, which is much more easy to remember then 
separate dns names for every cluster. Furthermore we would like to avoid the 
registration of a certificate for every cluster.

[~lmccay] I think we don't need to rewrite the cookies, just to scope it with a 
new Set-Cookie header

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

Reply via email to