Class BasicAuthenticator

java.lang.Object
esendex.sdk.java.service.auth.AbstractAuthenticator
esendex.sdk.java.service.auth.BasicAuthenticator
All Implemented Interfaces:
Authenticator

public class BasicAuthenticator extends AbstractAuthenticator
A (RFC2617) Basic authenticator that writes out the Http header to authenticate a request with the UserPassword credentials provided. Each request will contain the user and password credentials encoded in Base64
Author:
Mike Whittaker
  • Constructor Details

    • BasicAuthenticator

      public BasicAuthenticator(UserPassword userPassword)
      Create an authenticator for basic authentication with the supplied credentials.
      Parameters:
      userPassword - the credentials
  • Method Details