public class SSLConfigurations extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SSLConfigurations.SysProps |
Modifier and Type | Field and Description |
---|---|
protected List<SSLCredentialProvider> |
credentialProviders |
static String |
DEFAULT_STORE_PASSWORD |
Constructor and Description |
---|
SSLConfigurations(List<SSLCredentialProvider> credentialProviders) |
SSLConfigurations(SSLCredentialProviderFactory sslCredentialProviderFactory) |
Modifier and Type | Method and Description |
---|---|
String |
getClientKeyStorePassword() |
String |
getClientTrustStorePassword() |
String |
getKeyStorePassword() |
protected String |
getPassword(SSLCredentialProvider.CredentialType type) |
String |
getTrustStorePassword() |
void |
init()
Initiates javax.net.ssl.* system properties from the proper sources.
|
public static final String DEFAULT_STORE_PASSWORD
protected final List<SSLCredentialProvider> credentialProviders
public SSLConfigurations(SSLCredentialProviderFactory sslCredentialProviderFactory)
sslCredentialProviderFactory
- Credential provider factory to use for providerspublic SSLConfigurations(List<SSLCredentialProvider> credentialProviders)
credentialProviders
- Explicit list of credential providers to usepublic void init()
public String getKeyStorePassword()
public String getTrustStorePassword()
public String getClientKeyStorePassword()
public String getClientTrustStorePassword()
protected String getPassword(SSLCredentialProvider.CredentialType type)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.