Hi all,
I run the 2.1 beta of Geoserver and was trying the virtual services. I've
created a workspace and a PostGIS datastore, created some users, pushed some
layers online.
I'm working with catalog security "cache" mode. I've added a new role for my
user, and added a rule like mynamespace.*.r -> my_role. This should ensure that
all layers of this workspace are only available read-only for my user with
role: my_role..
Now I do a getCapabilites on a layer of this workspace without authentication
(with Firefox):
http://localhost:8080/geoserver/mynamespace/wms?request=GetCapabilities&service=WMS&version=1.1.1
---response (Only show the interesting part)----
<Capability>
...
...
<Layer>
<Title>Geoserver Web Map Service</Title>
<Abstract>etc...</Abstract>
<SRS>etc...</SRS>
<LatLonBoundingBox minx="0.0" miny="0.0" maxx="-1.0" maxy="-1.0"/>
</Layer>
</Capability>
The same URL with authentication (creds from new created user) return exactly
the same response. Normally I should see the layer...
When I do a get map, with or without authentication, I got a service
exception: Layer not found.
Now, the Weird thing: Because I do these tests on Firefox, then I open a new
tab, go login to Geoserver's config and when I make all the test above again,
my layer appears in the getCap and the getMap returns an image of my layer, all
is fine. The only thing I noticed with the previous tests is that now a
JSESSION cookie was sent.
I was wondering why I could not see my layer on the getCap and cannot access it
with a GetMap, even if I transmit an HTTP-BASIC authentication with those
requests...
Regards,
Rémy
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users