Ticket #138 (new defect)

Opened 5 years ago

Last modified 5 years ago


Reported by: jmerette Owned by:
Priority: minor Milestone: 1.3.0-rc1
Component: zoo-server Version: 1.0
Keywords: Credentials Cc:


We have this situation: "user --> Zoo --> MapServer?". Mapserver rejects the request with a 401 error message (access denied) because MapServer? uses a basic authentication to password protect the site. Is there a way to send a user and a password from Zoo?

Thx J.

Change History

Changed 5 years ago by djay

I know that CURL is supporting http basic authentication so I think there should not be any issue in suporting this kind of authentication. Nevertheless, despite nothing specific is implemented to support it, did you try to embed the authentication in the url directly ? I suppose it can work this way.

Another way of doing this may be by using header block definitions in your Execute XML Request as the ZOO-Kernel will then use it to the to communicate with the HTTP server.

If both cases are not working it means we will have to do something to support it and have a deeper look into this situation. But in any cases, I suppose that the header solution is the better one, so if it is not working right now by using header block please let me know and I will fin a way to solve this.

Changed 5 years ago by jmerette

Ok... ThX!!!

Changed 5 years ago by djay

I am happy to help, but I am not sure what was the solution you chosen finally ?

Changed 5 years ago by jmerette

We'll probably use header block definition in our execute XML Request but we didn't test it yet........ If it doesn't work we'll use CURL. Thx

Note: See TracTickets for help on using tickets.


Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png