Class BitbucketClientCertificateAuthenticator

java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.credentials.BitbucketClientCertificateAuthenticator
All Implemented Interfaces:
BitbucketAuthenticator

public class BitbucketClientCertificateAuthenticator extends Object implements 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.
      Specified by:
      configureBuilder in interface BitbucketAuthenticator
      Parameters:
      builder - The client builder.
    • getId

      public String getId()
      Specified by:
      getId in interface BitbucketAuthenticator
      Returns:
      id of the credentials used.