Hi everyone!

I was working with geoserver now, and I got a wierd situation...

When I make a WFS request like this:

http://localhost:8081/geoserver/wfs?request=GetFeature&version=1.1.0&typeName=topp:states&outputFormat=GML2

with GML2 output, (and tried with JSON, CSV, Shapefile), geoserver works
fine, respecting auth rules on layers and giving a correct output.

But, if I change this request, like this:

http://localhost:8081/geoserver/wfs?request=GetFeature&version=1.1.0&typeName=topp:states&outputFormat=GML3

I noticed that it can only be made if I'm logged in with Administrator.
First, I thought this was a problem with permissions on some layers, but as
you can see in the requests URL, I'm testing this with topp:states (the
default one that is built in geoserver) and It has no restrictions.

No matter how I try, without login or with another user, a public or a
restricted layer. Only if I'm logged with admin, the request works,
otherwise, it returns error 404.

Besides the default configuration, I just added layers, users and data
access rules. I also added the plugin RESTConfig, so everything else, is
default.

Is this the default behaviour or some problem with my configurations ??


Thanks,

Rodrigo C. Antonialli
======================================
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcaprofile
Contato:  (19) 9792-9820
              rca.cir...@gmail.com
              rcantonia...@gmail.com
              Skype: rc_antonialli
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to