Nice feature Andrea,
Thanks for continuous improvements
2011/9/6 Andrea Aime <[email protected]>
> On Tue, Sep 6, 2011 at 4:57 PM, Justin Deoliveira <[email protected]>
> wrote:
> > +1 on the idea, i actually ran into this problem recently and this would
> > have been quite useful. So I guess this means all the capabilities
> > transformers will have to be updated as well... which at this point is
> quite
> > a few. And what does "hidden" mean when it comes to the other requests...
> > GetFeature, GetMap, etc... should the services check the hidden flag when
> > those resources are accessed individually?
>
> Hidden would hide just from the capabilities, which yeah, would require the
> caps transformers to be modified, but I don't believe it's a big deal, it's
> 4-5 classes?
>
> But all other code would not be affected, you'd see the layer directly.
>
> > The idea I had before was to try and use a thread local catalog approach
> to
> > this, similar to how the virtual services hide layers not in the local
> > workspace. Basically an filter/callback/etc... would set up a thread
> local
> > view of the catalog (with a custom resource access manager, etc...) that
> > would prevent access to hidden layers. The benefit of this approach being
> > that no service code would really have to be updated at all.
>
> Right... check if the current request is GetCapabilities and make those
> layers disappear.
> Would work indeed. Wondering, that would start making for the third
> wrapper around the catalog... sounds like we need some sort of
> extension point for catalog interceptors?
>
> Cheers
> Andrea
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax: +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
--
Francesco Izzi
CNR - IMAA
geoSDI
Direzione Tecnologie e Sviluppo
C.da S. Loja
85050 Tito Scalo - POTENZA (PZ)
Italia
phone: +39 0971427305
fax: +39 0971 427271
mob: +39 3203126609
mail: [email protected]
skype: neofx8080
web: http://www.geosdi.org
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel