public class HTTPSSLProvider extends Object implements org.apache.http.client.CredentialsProvider, org.apache.http.auth.Credentials, Serializable
Constructor and Description |
---|
HTTPSSLProvider() |
HTTPSSLProvider(String keystore,
String keypass) |
HTTPSSLProvider(String keystore,
String keypass,
String truststore,
String trustpass) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
org.apache.http.auth.Credentials |
getCredentials(org.apache.http.auth.AuthScope scope) |
String |
getKeypassword() |
String |
getKeystore() |
String |
getPassword() |
String |
getTrustpassword() |
String |
getTruststore() |
Principal |
getUserPrincipal() |
void |
setCredentials(org.apache.http.auth.AuthScope scope,
org.apache.http.auth.Credentials creds) |
public HTTPSSLProvider()
public HTTPSSLProvider(String keystore, String keypass, String truststore, String trustpass)
public String getKeystore()
public String getKeypassword()
public String getTruststore()
public String getTrustpassword()
public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope scope)
getCredentials
in interface org.apache.http.client.CredentialsProvider
public void setCredentials(org.apache.http.auth.AuthScope scope, org.apache.http.auth.Credentials creds)
setCredentials
in interface org.apache.http.client.CredentialsProvider
public void clear()
clear
in interface org.apache.http.client.CredentialsProvider
public Principal getUserPrincipal()
getUserPrincipal
in interface org.apache.http.auth.Credentials
public String getPassword()
getPassword
in interface org.apache.http.auth.Credentials
Copyright © 1999–2016 UCAR/Unidata. All rights reserved.