Class CertificateAuthentication
java.lang.Object
jenkins.plugins.http_request.auth.CertificateAuthentication
- All Implemented Interfaces:
Serializable,Authenticator
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCertificateAuthentication(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials) CertificateAuthentication(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials, boolean ignoreSslErrors) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.client5.http.impl.classic.CloseableHttpClientauthenticate(org.apache.hc.client5.http.impl.classic.HttpClientBuilder clientBuilder, org.apache.hc.client5.http.protocol.HttpClientContext context, org.apache.hc.client5.http.classic.methods.HttpUriRequestBase 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:
getKeyNamein interfaceAuthenticator
-
authenticate
public org.apache.hc.client5.http.impl.classic.CloseableHttpClient authenticate(org.apache.hc.client5.http.impl.classic.HttpClientBuilder clientBuilder, org.apache.hc.client5.http.protocol.HttpClientContext context, org.apache.hc.client5.http.classic.methods.HttpUriRequestBase requestBase, PrintStream logger) throws IOException - Specified by:
authenticatein interfaceAuthenticator- Throws:
IOException
-