So there is no way to allow anonymous GET requests with the new security system? The documentation still says it's possible (http://docs.geoserver.org/latest/en/user/security/rest.html#providing-anonymous-read-only-access). Maybe I am not configuring something correctly.

Thanks,
Michael

On 08/10/2012 08:40 AM, David Winslow wrote:
Ah, I received your second email before the first one arrived :P

The curl command you give needs to include authentication information. Instead of:

curl -v -XGET http://localhost:8080/geoserver/rest/workspaces.xml

Try:

curl -v -XGET -u admin:geoserver http://localhost:8080/geoserver/rest/workspaces.xml

(If you have changed the admin user account since installing then you'll need to modify the command accordingly.) In Chrome, you are probably logged in via cookie so that's why it works there.

--
David Winslow
OpenGeo - http://opengeo.org/

On Fri, Aug 10, 2012 at 11:37 AM, David Winslow <[email protected] <mailto:[email protected]>> wrote:

    We need a little more information to help you.

    How did you install GeoServer? Is it working when you visit it in
    your web browser?

    What is the full curl command line you are using?  (Don't forget
    to edit out your admin password.)

    What are you trying to accomplish with curl?

    --
    David Winslow
    OpenGeo - http://opengeo.org/


    On Thu, Aug 9, 2012 at 11:49 PM, Yod Kosin
    <[email protected] <mailto:[email protected]>>
    wrote:

        Please help me, i don't know how to solve :'(



        --
        View this message in context:
        
http://osgeo-org.1560.n6.nabble.com/GeoServer-with-cURL-404-Not-Found-tp4994162p4994294.html
        Sent from the GeoServer - User mailing list archive at Nabble.com.

        
------------------------------------------------------------------------------
        Live Security Virtual Conference
        Exclusive live event will cover all the ways today's security and
        threat landscape has changed and how IT managers can respond.
        Discussions
        will include endpoint security, mobile security and the latest
        in malware
        threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
        _______________________________________________
        Geoserver-users mailing list
        [email protected]
        <mailto:[email protected]>
        https://lists.sourceforge.net/lists/listinfo/geoserver-users





------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to