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
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 classpublic SSLConfig setFactoryClassName(String factoryClassName)
SSLContextFactory
implementation classfactoryClassName
- the name of the SSLContextFactory
implementation class to setpublic boolean isEnabled()
public SSLConfig setEnabled(boolean enabled)
enabled
- public SSLConfig setFactoryImplementation(Object factoryImplementation)
SSLContextFactory
implementation objectfactoryImplementation
- factory implementation objectpublic Object getFactoryImplementation()
SSLContextFactory
implementation objectSSLContextFactory
implementation objectpublic SSLConfig setProperty(String name, String value)
name
- the name of the property to set.value
- the value of the property to setNullPointerException
- 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 © 2014 Hazelcast, Inc.. All Rights Reserved.