List of usage examples for org.apache.commons.httpclient.auth AuthPolicy getDefaultAuthPrefs
public static List getDefaultAuthPrefs()
From source file:org.apache.abdera.protocol.client.AbderaClient.java
/** * Configure the client to use the default authentication scheme settings *///w w w . j av a 2 s . c o m public AbderaClient setAuthenticationSchemeDefaults() { List authPrefs = AuthPolicy.getDefaultAuthPrefs(); client.getParams().setParameter(AuthPolicy.AUTH_SCHEME_PRIORITY, authPrefs); return this; }