org.jets3t.apps.synchronize
public class CommandLineCredentialsProvider extends Object implements org.apache.commons.httpclient.auth.CredentialsProvider
Constructor and Description |
---|
CommandLineCredentialsProvider() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.httpclient.Credentials |
getCredentials(org.apache.commons.httpclient.auth.AuthScheme authscheme,
String host,
int port,
boolean proxy)
Implementation method for the CredentialsProvider interface.
|
public org.apache.commons.httpclient.Credentials getCredentials(org.apache.commons.httpclient.auth.AuthScheme authscheme, String host, int port, boolean proxy) throws org.apache.commons.httpclient.auth.CredentialsNotAvailableException
Based on sample code: InteractiveAuthenticationExample
getCredentials
in interface org.apache.commons.httpclient.auth.CredentialsProvider
org.apache.commons.httpclient.auth.CredentialsNotAvailableException