Is a virtual OWS Service what you need? See
http://docs.geoserver.org/stable/en/user/services/virtual-services.html#filtering-by-workspace
for details but basically instead of going to

http://localhost:8080/geoserver/wfs for your capabilities you goto
http://localhost:8080/geoserver/*workspace1/*wfs and
http://localhost:8080/geoserver/*workspace2/*wfs

Ian

On 25 February 2016 at 12:36, Ragaroah <peters...@gmail.com> wrote:

> Hello all,
>
> Couldn't find how to do this in the documentation, so thought I'd try my
> luck here!
>
> I've got 2 projects (let's name them data_one and data_two) which I added
> as
> workspaces in GeoServer.
>
> Now, when I publish all the layers and extract them as a WFS, I get both
> projects. Is there a way to make seperate WFS links from one geoserver for
> each project?
>
> I've tried it with the namespace URI, but that doesn't seem to work at
> all... I couldn't get it working through authentication either, every time
> I
> added the project as login (data_one) and set it up with roles, link it
> using layer security, I couldn't access the layers anymore and I could
> still
> see them. For example:
>
> Workspace - Layer
> Data one - Trees
> Data one - Lines
> Data one - Roads
> Data two - Trees
> Data two - Water
>
> Currently both workspaces can access all layers. When I use
> getcapabilities,
> I get all layers, and I can see all objects.
>
> When I set up the authentication for data_one, I can see all the layers,
> but
> only request the objects from data_two for some reason...
>
> Can someone tell me what I'm doing wrong, or what the proper way is of
> setting it up like this for this in GeoServer? I can't get it to work... Or
> is the only way hosting two GeoServers?
>
> Thanks in advance!
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Single-GeoServer-publish-workspaces-to-seperate-environments-WFS-links-tp5252807.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Ian Turton
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to