public abstract class BasicAuthenticationConnectionProvider extends BaseConnectionProvider
| Modifier and Type | Field and Description |
|---|---|
protected String |
password
The password to authenticate the requests
|
protected String |
username
The username to authenticate the requests
|
| Constructor and Description |
|---|
BasicAuthenticationConnectionProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected org.mule.runtime.http.api.client.auth.HttpAuthentication |
buildAuthentication()
Implementations can override this method to specify the authentication mechanism to use.
|
configureClient, connect, createConnection, disconnect, getBaseUri, getConfigName, getConnectionIdleTimeout, getConnectionIdleTimeoutUnit, getConnectionTimeout, getConnectionTimeoutUnit, getDefaultHeaders, getDefaultQueryParams, getMaxConnections, getProxyConfig, getResponseBufferSize, getTlsConfig, initialise, isStreamResponse, isUsePersistentConnections, validate@Parameter @Optional @Summary(value="The username to authenticate the requests") protected String username
@Parameter @Optional @Summary(value="The password to authenticate the requests") @Password protected String password
public BasicAuthenticationConnectionProvider()
protected org.mule.runtime.http.api.client.auth.HttpAuthentication buildAuthentication()
BaseConnectionProviderbuildAuthentication in class BaseConnectionProviderHttpAuthentication or nullCopyright © 2019. All rights reserved.