|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.config.SSLConfig
public final class SSLConfig
SSL configuration
Constructor Summary | |
---|---|
SSLConfig()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SSLConfig()
Method Detail |
---|
public String getFactoryClassName()
SSLContextFactory
implementation class
public 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
- public SSLConfig setFactoryImplementation(Object factoryImplementation)
SSLContextFactory
implementation object
factoryImplementation
- factory implementation object
public 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.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |