Class CertificateAuthentication
java.lang.Object
jenkins.plugins.http_request.auth.CertificateAuthentication
- All Implemented Interfaces:
Serializable
,Authenticator
- See Also:
-
Constructor Summary
ConstructorDescriptionCertificateAuthentication
(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials) CertificateAuthentication
(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials, boolean ignoreSslErrors) -
Method Summary
Modifier and TypeMethodDescriptionorg.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)
-
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
- Specified by:
getKeyName
in interfaceAuthenticator
-
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 interfaceAuthenticator
- Throws:
IOException
-