com.sun.syndication.propono.atom.client
Class BasicAuthStrategy
java.lang.Object
com.sun.syndication.propono.atom.client.BasicAuthStrategy
- All Implemented Interfaces:
- AuthStrategy
public class BasicAuthStrategy
- extends Object
- implements AuthStrategy
Method Summary |
void |
addAuthentication(org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.HttpMethodBase method)
Add authentication credenticals, tokens, etc. |
void |
init()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicAuthStrategy
public BasicAuthStrategy(String username,
String password)
init
public void init()
throws ProponoException
- Throws:
ProponoException
addAuthentication
public void addAuthentication(org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.HttpMethodBase method)
throws ProponoException
- Description copied from interface:
AuthStrategy
- Add authentication credenticals, tokens, etc. to HTTP method
- Specified by:
addAuthentication
in interface AuthStrategy
- Throws:
ProponoException