Class BitbucketClientCertificateAuthenticator
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticator
com.cloudbees.jenkins.plugins.bitbucket.api.credentials.BitbucketClientCertificateAuthenticator
Authenticates against Bitbucket using a TLS client certificate
-
Field Summary
Fields inherited from class com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticator
BITBUCKET_INSTANCE_TYPE, BITBUCKET_INSTANCE_TYPE_CLOUD, BITBUCKET_INSTANCE_TYPE_SERVER, SCHEME, SERVER_URL
-
Constructor Summary
ConstructorDescriptionBitbucketClientCertificateAuthenticator
(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials) -
Method Summary
Modifier and TypeMethodDescriptionvoid
configureBuilder
(org.apache.http.impl.client.HttpClientBuilder builder) Sets the SSLContext for the builder to one that will connect with the selected certificate.Methods inherited from class com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticator
authenticationContext, configureContext, configureRequest, getCredentialsForSCM, getId
-
Constructor Details
-
BitbucketClientCertificateAuthenticator
public BitbucketClientCertificateAuthenticator(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials)
-
-
Method Details
-
configureBuilder
public void configureBuilder(org.apache.http.impl.client.HttpClientBuilder builder) Sets the SSLContext for the builder to one that will connect with the selected certificate.- Overrides:
configureBuilder
in classBitbucketAuthenticator
- Parameters:
builder
- The client builder.
-