@Deprecated public class BasicAuthStrategy extends java.lang.Object implements AuthStrategy
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
credentials
Deprecated.
|
| Constructor and Description |
|---|
BasicAuthStrategy(java.lang.String username,
java.lang.String password)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthentication(org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.HttpMethodBase method)
Deprecated.
Add authentication credenticals, tokens, etc.
|
void |
init()
Deprecated.
|
public BasicAuthStrategy(java.lang.String username,
java.lang.String password)
public void init()
throws ProponoException
ProponoExceptionpublic void addAuthentication(org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.HttpMethodBase method)
throws ProponoException
AuthStrategyaddAuthentication in interface AuthStrategyProponoException