Hi All,

I found a little problem using rules on layers and webcache. 
Environment:
- bundle geoserver 2.9.0 
- tomcat 8 
- openjdk8

Step to reproduce:
- add rule tiger.*.r=ADMIN,GROUP_ADMIN
- try to create cache using 
http://myhost/geoserver/gwc/rest/seed/tiger:poly_landmarks

On log I got:
27 Jun 16:01:36 ERROR [geoserver.ows]  
org.geoserver.platform.ServiceException: Could not find layer 
tiger:poly_landmarks
        at 
org.geoserver.wms.map.GetMapKvpRequestReader.parseLayers(GetMapKvpRequestReader.java:1340)
        at 
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:239)
        at 
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:84)
[...]

This means the cache is buildable only for public layers or there's a way to 
configure gwc to cache protected layers? 
Thanks for support.

Saluti.

.Federico C Guizzardi
>_
abstract.it 
...............................................................................
Registro Imprese di Napoli 788429 / Cap. Soc. 10.000 Euro I.V. Avvertenze 
Legali - D. Lgs. 196/03 Tutela dei dati personali. Le informazioni contenute 
in questo messaggio e in ogni eventuale allegato sono riservate e ne รจ vietata 
ogni forma di diffusione. Se avete ricevuto questa comunicazione per errore, 
Vi preghiamo di informare immediatamente il mittente del messaggio e di 
eliminare l'e-mail.

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to