Hi,
Recently i've tested Geoserver 2.1 to see if it can read our (in-house
developed) WFS service with basic authentication.
Unfortunatly this doesn't seem to work. (tested with HTTPS and HTTP)
Adding the store works fine: The GetCapabilities request is send with the
correct authorization header.
When adding a layer from the WFS store Geoserver gives the following error:
2011-07-07 07:40:44,226 DEBUG [geotools.xml] - looking up schema for
http://www.cyclomedia.com/atlas
2011-07-07 07:40:44,231 DEBUG [geotools.xml] - schema location:
https://atlas.cyclomedia.com/Recordings/wfs?TYPENAME=atlas%3ARecording&VERSION=1.1.0&SERVICE=WFS&REQUEST=DescribeFeatureType&NAMESPACE=xmlns%28atlas%3Dhttp%3A%2F%2Fwww.cyclomedia.com%2Fatlas%29
2011-07-07 07:40:44,231 DEBUG [geotools.xml] - building schema for schema:
http://www.cyclomedia.com/atlas
2011-07-07 07:40:44,335 WARN [geotools.xml] - Error occured getting schema
java.io.IOException: Server returned HTTP response code: 401 for URL:
https://atlas.cyclomedia.com/Recordings/wfs?TYPENAME=atlas%3ARecording&VERSION=1.1.0&SERVICE=WFS&REQUEST=DescribeFeatureType&NAMESPACE=xmlns%28atlas%3Dhttp%3A%2F%2Fwww.cyclomedia.com%2Fatlas%29
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createURLInputStream(URIConverterImpl.java:566)
at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URIConverterImpl.java:453)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:897)
at org.geotools.xml.Schemas.parse(Schemas.java:256)
at org.geotools.xml.XSD.buildSchema(XSD.java:252)
at org.geotools.xml.XSD.getSchema(XSD.java:209)
..
..
When using wireshark to check the content of the request is seems that the
DescribeFeatureType request doesn't send any credentials..
Any ideas why the DescribeFeatureType skips the authorization part?
Thanks.
Regards,
Sjoerd Brandsma
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users