I tried what you told me, but it doesn't work :(
It said that the layer France_Map_cache doesn't exist.
( the layer is defined in the geowebcache.xml )
Can you help me ?
Thx,
On Mon, Oct 3, 2011 at 10:00 AM, Micka <[email protected]> wrote:
> Ok, but does it work with EPSG:2154 ?
>
>
> Because I had to add it on the geowebcache.xml and create also a new layer
> :
>
> <!-- france lambert 93 -->
> <gridSet>
> <name>EPSG:2154</name>
> <srs>
> <number>2154</number>
> </srs>
> <extent>
> <coords>
> <double>-357823.2365</double>
> <double>6037008.6939</double>
> <double>1313632.3628</double>
> <double>7230727.3772</double>
> </coords>
> </extent>
> <alignTopLeft>false</alignTopLeft>
> <scaleDenominators>
> <double>559082263.928571464</double>
> <double>279541131.964285732</double>
> <double>139770565.982142864</double>
> <double>69885282.991071432</double>
> <double>34942641.495535716</double>
> <double>17471320.747767858</double>
> <double>8735660.373883929</double>
> <double>4367830.186941965</double>
> <double>2183915.093470982</double>
> <double>1091957.546735491</double>
> <double>545978.773367746</double>
> <double>272989.386683873</double>
> <double>136494.693341936</double>
> <double>68247.346670968</double>
> <double>34123.673335484</double>
> <double>17061.836667742</double>
> <double>8530.918333871</double>
> <double>4265.459166936</double>
> <double>2132.729583468</double>
> <double>1066.364791734</double>
> </scaleDenominators>
> <metersPerUnit>1</metersPerUnit>
> <tileHeight>256</tileHeight>
> <tileWidth>256</tileWidth>
> </gridSet>
>
> <layers>
> <wmsLayer>
> <name>France_Map_cache</name>
> <gridSubsets>
> <gridSubset>
> <gridSetName>EPSG:2154</gridSetName>
> </gridSubset>
> </gridSubsets>
> <wmsUrl><string>http://localhost:8080/geoserver/wms
> </string></wmsUrl>
> <wmsLayers>France_Map</wmsLayers>
> </wmsLayer>
>
> </layers>
>
>
>
>
>
>
> On Sat, Oct 1, 2011 at 1:30 AM, Gabriel Roldan <[email protected]>wrote:
>
>> Hello, that's old news. Good new news is you don't have to do (almost)
>> anything special to enable security on integrated layers (at least for
>> WMS-C).
>> Just grab a recent version of GeoServer (like in a nightly 2.1.x build
>> or 2.1.2 when it comes out next week) and proceed as follows:
>> - Configure your layer security
>> - Go to the GeoWebCache GeoServer configuration page
>> - Disable the WMS-C, WMTS, TMS services
>> - Enable "direct WMS integration"
>> - done.
>>
>> From that on, instead of pointing your GetMap requests to
>> /geoserver/gwc/service/wms, point them to /geoserver/wms, and just
>> make sure the requests contain the TILED=true parameter (as mandated
>> by the WMS-C spec). Same thing for GetCapabilities.
>>
>> Cheers,
>> Gabriel
>>
>> On Fri, Sep 30, 2011 at 6:22 AM, Andrea Aime
>> <[email protected]> wrote:
>> > On Fri, Sep 30, 2011 at 10:59 AM, Micka <[email protected]> wrote:
>> >>
>> >> Hi everyone,
>> >>
>> >> I would like to know if the problem of GWC security have been fixed ?
>> >> Or do you have a solution to fix it ? What should I do ?
>> >
>> > As far as I know nobody worked on securing GWC.
>> > What I normally do is to get rid of GWC from GeoServer, keep it in a
>> > separate
>> > install, and make it cache only non secured layers (which are normally
>> the
>> > ones that drive the most traffic).
>> > Securing GWC is a topic that pops up every now and then, but so far I
>> > haven't found
>> > a work project that could fund that work.
>> > 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
>> >
>> > -------------------------------------------------------
>> >
>> >
>> ------------------------------------------------------------------------------
>> > All of the data generated in your IT infrastructure is seriously
>> valuable.
>> > Why? It contains a definitive record of application performance,
>> security
>> > threats, fraudulent activity, and more. Splunk takes this data and makes
>> > sense of it. IT sense. And common sense.
>> > http://p.sf.net/sfu/splunk-d2dcopy2
>> > _______________________________________________
>> > Geoserver-users mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>> >
>> >
>>
>>
>>
>> --
>> Gabriel Roldan
>> OpenGeo - http://opengeo.org
>> Expert service straight from the developers.
>>
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users