# Uses of Class
org.opensaml.security.httpclient.impl.BasicHttpClientSecurityConfiguration

Packages that use BasicHttpClientSecurityConfiguration
Package
Description
org.opensaml.security.httpclient.impl
Security implementation support for Apache HttpClient.

## Uses of BasicHttpClientSecurityConfiguration in org.opensaml.security.httpclient.impl

Methods in org.opensaml.security.httpclient.impl that return BasicHttpClientSecurityConfiguration
Modifier and Type
Method
Description
`BasicHttpClientSecurityConfiguration`
BasicHttpClientSecurityConfiguration.`setBasicCredentials(org.apache.hc.client5.http.auth.UsernamePasswordCredentials credentials)`
A convenience method to set a (single) username and password used for BASIC authentication.
`BasicHttpClientSecurityConfiguration`
BasicHttpClientSecurityConfiguration.`setBasicCredentialsWithScope(org.apache.hc.client5.http.auth.UsernamePasswordCredentials credentials, org.apache.hc.client5.http.auth.AuthScope scope)`
A convenience method to set a (single) username and password used for BASIC authentication.
`BasicHttpClientSecurityConfiguration`
BasicHttpClientSecurityConfiguration.`setClientTLSCredential(X509Credential credential)`
Set the optional client TLS credential.
`BasicHttpClientSecurityConfiguration`
BasicHttpClientSecurityConfiguration.`setCredentialsProvider(org.apache.hc.client5.http.auth.CredentialsProvider provider)`
Set an instance of `CredentialsProvider` used for authentication by the HttpClient instance.
`BasicHttpClientSecurityConfiguration`
BasicHttpClientSecurityConfiguration.`setHostnameVerifier(HostnameVerifier verifier)`
Set the optional hostname verifier.
`BasicHttpClientSecurityConfiguration`
BasicHttpClientSecurityConfiguration.`setPreemptiveBasicAuthMap(Map<org.apache.hc.core5.http.HttpHost,org.apache.hc.client5.http.auth.UsernamePasswordCredentials> map)`
Install a map of rules for preemptive basic authentication using the supplied hosts and credentials.
`BasicHttpClientSecurityConfiguration`
BasicHttpClientSecurityConfiguration.`setServerTLSFailureFatal(Boolean flag)`
Set the flag indicating whether failure of server TLS trust engine evaluation should be treated as a fatal error.
`BasicHttpClientSecurityConfiguration`
BasicHttpClientSecurityConfiguration.`setTLSCipherSuites(Collection<String> cipherSuites)`
Set the optional list of TLS cipher suites.
`BasicHttpClientSecurityConfiguration`
BasicHttpClientSecurityConfiguration.`setTLSProtocols(Collection<String> protocols)`
Set the optional list of TLS protocols.
`BasicHttpClientSecurityConfiguration`
BasicHttpClientSecurityConfiguration.`setTLSTrustEngine(TrustEngine<? super X509Credential> engine)`
Sets the optional trust engine used in evaluating server TLS credentials.