public final class SSLConfig extends Object
| Constructor and Description |
|---|
SSLConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFactoryClassName()
Returns the name of the
SSLContextFactory implementation class. |
Object |
getFactoryImplementation()
Returns the factory
SSLContextFactory implementation object. |
Properties |
getProperties()
Gets all properties.
|
String |
getProperty(String name)
Gets a property.
|
boolean |
isEnabled()
Returns if this configuration is enabled.
|
SSLConfig |
setEnabled(boolean enabled)
Enables and disables this configuration.
|
SSLConfig |
setFactoryClassName(String factoryClassName)
Sets the name for the
SSLContextFactory implementation class. |
SSLConfig |
setFactoryImplementation(Object factoryImplementation)
Sets the
SSLContextFactory implementation object. |
SSLConfig |
setProperties(Properties properties)
Sets the properties.
|
SSLConfig |
setProperty(String name,
String value)
Sets a property.
|
String |
toString() |
public String getFactoryClassName()
SSLContextFactory implementation class.SSLContextFactory implementation classpublic SSLConfig setFactoryClassName(String factoryClassName)
SSLContextFactory implementation class.factoryClassName - the name of the SSLContextFactory implementation class to setpublic boolean isEnabled()
public SSLConfig setEnabled(boolean enabled)
enabled - true to enable, false to disablepublic SSLConfig setFactoryImplementation(Object factoryImplementation)
SSLContextFactory implementation object.factoryImplementation - the factory SSLContextFactory implementation objectpublic Object getFactoryImplementation()
SSLContextFactory implementation object.SSLContextFactory implementation objectpublic SSLConfig setProperty(String name, String value)
name - the name of the property to set.value - the value of the property to set.NullPointerException - if name or value is null.public String getProperty(String name)
name - the name of the property to get.NullPointerException - if name is null.public Properties getProperties()
public SSLConfig setProperties(Properties properties)
properties - the properties to set.IllegalArgumentException - if properties is null.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.