Geotools WFS basic authentication

المشرف العام

Administrator
طاقم الإدارة
I'm trying to retrieve data from remote WFS server which requires basic https authentication using GeoTools.I defined connection parameters for username and password like

connectionParameters.put("WFSDataStoreFactory:USERNAME", "username" );connectionParameters.put("WFSDataStoreFactory:pASSWORD", "pass" );However I get

"Server returned HTTP response code: 401 for URL: http://...".What is the solution for basic https authentication in GeoTools WFS support.



أكثر...
 
أعلى