Interface ProxyAuthenticationFactory


public interface ProxyAuthenticationFactory
Factory for proxy authentication instances.

This factory allows common proxy authentication schemes to be used when connecting a session to a server.

An instance of this factory can be obtained using Diffusion.proxyAuthentication().

Since:
5.1
Author:
DiffusionData Limited
  • Method Summary

    Modifier and Type
    Method
    Description
    basic(String username, String password)
    Provides an implementation of Basic proxy authentication.
  • Method Details

    • basic

      HTTPProxyAuthentication basic(String username, String password)
      Provides an implementation of Basic proxy authentication.
      Parameters:
      username - specifies the username to be used when authenticating a connection to a proxy server using Basic authentication
      password - the password associated with the provided username to authenticate a connection to the proxy server
      Returns:
      an instance of a Basic Proxy Authentication scheme