public class BasicAuthStrategy extends Object implements AuthStrategy
Constructor and Description |
---|
BasicAuthStrategy(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
void |
addAuthentication(org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.HttpMethodBase method)
Add authentication credenticals, tokens, etc.
|
void |
init() |
public void init() throws ProponoException
ProponoException
public void addAuthentication(org.apache.commons.httpclient.HttpClient httpClient, org.apache.commons.httpclient.HttpMethodBase method) throws ProponoException
AuthStrategy
addAuthentication
in interface AuthStrategy
ProponoException
Copyright © 2016. All rights reserved.