Hi,
I double checked the logs and noticed this:
2016-08-04 08:46:02,453 ERROR [security.decorators] - Sorry, raster filters for 
cascaded wms layers have not been implemented yet

https://github.com/geoserver/geoserver/blob/bf0345d228111c15aeff6f7c1bc87b4ed230af96/src/main/src/main/java/org/geoserver/security/decorators/SecuredGetMapRequest.java#L126-L127

It seems that I have to find out some other way to do that.

Thanks!

Mikko

-----Original Message-----
From: Emanuele Tajariol [mailto:[email protected]] On Behalf Of Emanuele 
Tajariol
Sent: 3. elokuuta 2016 20:05
To: Mikko Kolehmainen
Cc: [email protected]
Subject: Re: [Geoserver-users] Geofence Limit-rules with cascaded WMS

Hi Mikko,

the code in the AccessManager does consider cascaded WMS layers, creating a 
multipolygon raster filter if one is defined in the matching rule in GeoFence:

https://github.com/geoserver/geoserver/blob/master/src/community/geofence/src/main/java/org/geoserver/geofence/GeofenceAccessManager.java#L520-
L525

Do you have the logs for both geofence and geoserver?

   Cheers,
   Emanuele


Alle 15:34:07 di Wednesday 3 August 2016, Mikko Kolehmainen ha scritto:
> Hello,
> I'm trying to use geofence-server-plugin with Geoserver. I need to 
> limit geographically Cascaded WMS-layers, so that each layer has its 
> own limiting geometry. These layers would then be published outwards 
> in a layer group. I haven't got LIMIT rules working with Cascaded WMS-layers.
> 
> I can get PostGIS vector layer limited with these rules:
> Priority 0: Role=* User=* Service=WMS Request=GETMAP Workspace=* 
> Layer=* Access=LIMIT with "SRID=4326;MULTIPOLYGON (((23 60, 25 60, 25 
> 65, 23 60)))" Priority 1: Role=* User=* Service=WMS Request=* 
> Workspace=* Layer=* Access=ALLOW
> 
> With those rules my cascaded WMS layer is shown at its full extent. Is 
> that a bug or something that is not implemented?
> 
> I'm using Geoserver 2.10-Snapshot (2.8.2016) with Java 1.8.0_60 and 
> Tomcat 7.0.69. I tested both vector layers and cascade WMS in QGIS 
> with test user, so it's not about that rules are not applied to admin.
> 
> Best Regards,
> Mikko Kolehmainen


--
==
GeoServer Professional Services from the experts! 
Visit http://goo.gl/NWWaa2 for more information.
==

Ing. Emanuele Tajariol
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:    +39 0584 1660272
mob:   +39  380 2116282 

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to