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("WFSDataStoreFactoryASSWORD", "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.
أكثر...
connectionParameters.put("WFSDataStoreFactory:USERNAME", "username" );connectionParameters.put("WFSDataStoreFactoryASSWORD", "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.
أكثر...