On Thu, Oct 20, 2011 at 7:52 AM, Gerson Galang <[email protected]> wrote: > Hi, > I've been using the WFS plugin > (http://docs.geotools.org/latest/userguide/library/data/wfs.html) to run > getCapabilities, describeFeatureType and getFeature request against our > local geoserver. It was all working fine until I started talking to a WFS > that requires authentication. I added the WFSDataStoreFactory:USERNAME and > WFSDataStoreFactory:PASSWORD to the list of connectionParameters but the > query only worked for getCapabilities and describeFeatureType requests. Do I > need to do anything special if I am to run a getFeature request requiring > authentication?
Sounds very much like this issue: http://jira.codehaus.org/browse/GEOS-3967 It has been fixed only a couple of weeks ago, you might want to checkout out the current sources of GeoTools 2.7.x, or depend on 2.7-SNAPSHOT for the time being. Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
