[Geoserver-devel] Forwarding authentication headers to cascaded WFS store

GeoServer Devs,

We run a reverse proxy in front of GeoServer to handle authentication via Windows Integrated Auth. We also expose some of our custom data sources via hand-rolled WFS interfaces, which also require authentication using said proxy.

If I want to expose some of these custom data sources to GeoServer’s WMS via Cascaded WFS, would GeoServer automatically forward authentication headers from the client through the WMS and out to the WFS backend request?

If not, would you recommend a way to implement that?

Thanks!

···

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com

Hey Jason, this question may be more suitable to the user list (the devel list is focused on working on the geoserver codebase itself). It is a bit tough to ask for public feedback on your custom data sources - perhaps you would like to check the support page for a vendor in your neck of the woods?

For the specific functionality you are looking at you will want to dive deep on the GeoTools codebase for WFSDataStore and WebMapServer client. They are fairly extensible, and I have seen the used with a federated security model as past of a OGC testbed (this involved passing security details through as part of a cascade).

On Thu, Oct 22, 2015 at 9:28 AM Jason Newmoyer <jason@anonymised.com> wrote:

GeoServer Devs,

We run a reverse proxy in front of GeoServer to handle authentication via Windows Integrated Auth. We also expose some of our custom data sources via hand-rolled WFS interfaces, which also require authentication using said proxy.

If I want to expose some of these custom data sources to GeoServer’s WMS via Cascaded WFS, would GeoServer automatically forward authentication headers from the client through the WMS and out to the WFS backend request?

If not, would you recommend a way to implement that?

Thanks!

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com



Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel