01-22-2010 04:45 PM
01-22-2010 10:33 PM
01-23-2010 12:02 PM
01-23-2010 01:03 PM
01-24-2010 04:07 PM
01-30-2010 12:54 AM
DefaultHttpClient defaultClient = (DefaultHttpClient)client;
List<String> authTargetSchemes = new ArrayList<String>();
authTargetSchemes.add(AuthPolicy.BASIC);
defaultClient.getParams().setParameter("http.auth.target-scheme-pref", authTargetSchemes);
defaultClient.getParams().setParameter("http.protocol.handle-authentication", true);
defaultClient.getCredentialsProvider().setCredentials(new AuthScope("localhost", "8080", "webdav"),
new UsernamePasswordCredentials(username, password));
defaultClient.execute(method);
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.