On Fri, Jun 3, 2011 at 5:49 AM, Harikumar Reddy <harik....@gmail.com> wrote: > Hi GS users, > > Is any facility available in GS on how to stop displaying (not listing > layers unde preview page or enabling layer preview tab only after user > login) geoserver layers under layer preview, if user is not logged in. Any > idea to implement this functionality by doing a work around?
Using a proxy I believe you can just hide that page. Wondering, do you want to hide them from the preview page only? What about the capabilities document? If I use a WMS/WFS client those layers will show up because they are in the caps document as well. For what I can see you might want to have a "hidden" property on a layer that stops the layer from being advertised around, but still work when people ask for it directly. It requires quite a bit of changes, GUI, configuration, capabilities generators in the various protocols. Long but not complicated, it requires a skilled java developer with a bit of Wicket experience and WMS/WFS/WCS protocols knowledge to implement it. 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 ------------------------------------------------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users