public interface ProxyAuthenticationFactory
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()
.
Modifier and Type | Method and Description |
---|---|
HTTPProxyAuthentication |
basic(String username,
String password)
Provides an implementation of Basic proxy authentication.
|
HTTPProxyAuthentication basic(String username, String password)
username
- specifies the username to be used when authenticating a
connection to a proxy server using Basic authenticationpassword
- the password associated with the provided username to
authenticate a connection to the proxy serverCopyright © 2024 DiffusionData Ltd. All Rights Reserved.