Class CertificateAuthentication

java.lang.Object
jenkins.plugins.http_request.auth.CertificateAuthentication
All Implemented Interfaces:
Serializable, Authenticator

public class CertificateAuthentication extends Object implements Authenticator
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    CertificateAuthentication(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials)
     
    CertificateAuthentication(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials, boolean ignoreSslErrors)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.http.impl.client.CloseableHttpClient
    authenticate(org.apache.http.impl.client.HttpClientBuilder clientBuilder, org.apache.http.protocol.HttpContext context, org.apache.http.client.methods.HttpRequestBase requestBase, PrintStream logger)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CertificateAuthentication

      public CertificateAuthentication(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials)
    • CertificateAuthentication

      public CertificateAuthentication(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials, boolean ignoreSslErrors)
  • Method Details

    • getKeyName

      public String getKeyName()
      Specified by:
      getKeyName in interface Authenticator
    • authenticate

      public org.apache.http.impl.client.CloseableHttpClient authenticate(org.apache.http.impl.client.HttpClientBuilder clientBuilder, org.apache.http.protocol.HttpContext context, org.apache.http.client.methods.HttpRequestBase requestBase, PrintStream logger) throws IOException
      Specified by:
      authenticate in interface Authenticator
      Throws:
      IOException