Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`BasicAuthStrategy(String username, String password)`

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`

Constructor Detail

### BasicAuthStrategy

    public BasicAuthStrategy(String username,
                             String password)

Method Detail

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD