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:
- Serialized Form
-
-
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
All Methods Instance Methods Concrete Methods 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)
String
getKeyName()
-
-
-
Constructor Detail
-
CertificateAuthentication
public CertificateAuthentication(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials)
-
CertificateAuthentication
public CertificateAuthentication(com.cloudbees.plugins.credentials.common.StandardCertificateCredentials credentials, boolean ignoreSslErrors)
-
-
Method Detail
-
getKeyName
public String 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
-
-