Hello,
I’m working with GeoServer 2.5.2 with CAS extension. I need to have layers with restricted access and others with anonymous access.
In the default filter chain, if i select CAS and unselect basic and anonymous, I cannot access my layers wich have no restriction on it if I’m not authenticated on CAS server. But, if I add the anonymous filter in default filter chain, I indeed can access to my unrestricted layers but I cannot access anymore to my restricted layers.
Is there any possibility to have in the same time CAS and Anonymous filters ?
Regards,
Nicolas RAVET
Nicolas RAVET
www.cmre.fr
04 74 25 09 70
Hi Nicolas
This is possible if you use workspaces. Make a workspace for your protected layers, add a new filter chain with the CAS filter and put the anonymous filter on the default filter chain. Alternatively, you can add an additional workspace for your public layers.
Access a layer in a workspace with
http://localhost:8080/geoserver/workspacename1……
http://localhost:8080/geoserver/workspacename2……
Create filter chains with the patterns
/workspacename1/**
/workspacename2/**
The new filter chains must precede the default filter chain.
Cheers
Christian
···
On Wed, Nov 12, 2014 at 1:00 PM, Nicolas Ravet <NRavet@anonymised.com> wrote:
Hello,
I’m working with GeoServer 2.5.2 with CAS extension. I need to have layers with restricted access and others with anonymous access.
In the default filter chain, if i select CAS and unselect basic and anonymous, I cannot access my layers wich have no restriction on it if I’m not authenticated on CAS server. But, if I add the anonymous filter in default filter chain, I indeed can access to my unrestricted layers but I cannot access anymore to my restricted layers.
Is there any possibility to have in the same time CAS and Anonymous filters ?
Regards,
Nicolas RAVET
Nicolas RAVET
www.cmre.fr
04 74 25 09 70
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH