Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MapServer] RFC-42 HTTP Cookie Forwarding #2566

Closed
mapserver-bot opened this issue Apr 3, 2012 · 2 comments

Comments

@mapserver-bot
Copy link

commented Apr 3, 2012

Reporter: jlacroix
Date: 2008/04/01 - 23:26
Trac URL: http://trac.osgeo.org/mapserver/ticket/2566
This is the bug that refer to RFC-42 HTTP Cookie Forwarding:

http://mapserver.gis.umn.edu/development/rfc/ms-rfc-42/

This RFC propose to extend MapServer to forward HTTP Cookies when doing OWS requests.

One method of authentication in distributed server environment is the use of HTTP Cookies. HTTP cookies are used by Web servers to differentiate users and to maintain data related to the user during navigation, possibly across multiple visits and for state information. Technically, cookies are arbitrary pieces of data chosen by the Web server and sent to the browser. The browser returns them unchanged to the server. The enhancement to MapServer would allow the application to forward any HTTP cookie (either from a http or https request for get or post) received from a client to any other server or service that MapServer would request information from.

This would require MapServer to receive and forward any cookies to new services during requests for operations (cascades) such as (but not limited to) WMS requests for: getmaps, getfeatureinfo and WFS requests for GetFeature.

@mapserver-bot

This comment has been minimized.

Copy link
Author

commented Apr 3, 2012

Author: jlacroix
Date: 2008/04/01 - 23:37

committed to SVN trunk in 963f918 (r7491)

Marking as FIXED

@mapserver-bot

This comment has been minimized.

Copy link
Author

commented Apr 3, 2012

Author: jlacroix
Date: 2008/04/02 - 18:05
I modified the code to always set the cookie instead of checking if there's the ows_http_cookie metadata set in the mapfile. (adc8e62 (r7493))

@ghost ghost assigned sdlime Apr 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.