Hi Milan. Thanks for the reply.
Ok, now it works.
Two points:
1 - the WMS permission configuration requires a "geometry" field.
Why?
2 - the response from Geoshield is times slower then querying
Geoserver directly. I would expect it the first time, to authenticate
and authorize the user, but it seems that the response slowness is in
the image rendering phase: I can see the image rendering in blocks of
strips in the browser, while with geoserver it appears
istantaneously....
giovanni
> 2011/1/3 giohappy <
gioha...@gmail.com>
>
> > Hi.
> > Today I've tried Geoshield for the very first time, to evaluate its
> > use in our GeoExt+Geoserver application.
> > I've configured a WMS service. I have a Geoserver running locally on
> > geoserver/ context, so I set up a WMS service as you can see here:
> >
http://tinyurl.com/32dlbsy
> > Then I set the permissions for it:
http://tinyurl.com/2wsahk2
>
> As you show in the images,
> you added your geoserver service in the right way.
>
> Have you also set the permission on the layers that you want to protect
> in the "WMS/WFS permissions" tab?
>
> [image: permissions.jpg]
>
> > Now it's not clear to me how GeoShield will treat submitted requests.
> > I suppose it can proxy multiple services, depending on the context,
> > right?
>
> You're right
>
> > How to address GeoShield to the right one?
> > I mean, having a basic GetMap sample request like this:
>
> >
http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&styles=popula...
>
> > how should I turn it into a GeoShield request?
>
> > A naive request like the following :
>
> >
http://localhost:8080/geoshield/wms?bbox=-130,24,-66,50&styles=popula...
>
> When you are asking geoshiled you should add the name (path) that you
> defined for your geoserver.
> In your case "*geoserver*", try somthing like this:
>
>
http://localhost:8080/geoshield/wms/*geoserver*
> ?bbox=-130,24,-66,50&styles=population&Format=image/png&request=GetMap&layers=topp:states&width=550&height=250&srs=EPSG:4326<
http://localhost:8080/geoshield/wms?bbox=-130,24,-66,50&styles=popula...>
>
>
>
> > returns me an error page:
http://tinyurl.com/2wr9b7n
>
> > Thanks for your support and this usefull product,
> > Giovanni
>
> If you have any other question or remarks don't hesitate to contact me on
> this group.
>
> Best regards
>
> Milan
>
> permissions.jpg
> 74KVisualizzaScarica