Class BitbucketClientCertificateAuthenticator

java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticator
com.cloudbees.jenkins.plugins.bitbucket.api.credentials.BitbucketClientCertificateAuthenticator

public class BitbucketClientCertificateAuthenticator extends BitbucketAuthenticator
Authenticates against Bitbucket using a TLS client certificate
  • 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 class BitbucketAuthenticator
      Parameters:
      builder - The client builder.