public final class MCMutualAuthConfig extends Object
Constructor and Description |
---|
MCMutualAuthConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getFactoryClassName()
Returns the name of the implementation class.
|
Object |
getFactoryImplementation()
Returns the factory implementation object.
|
Properties |
getProperties()
Gets all properties.
|
String |
getProperty(String name)
Gets a property.
|
boolean |
isEnabled()
Returns if this configuration is enabled.
|
MCMutualAuthConfig |
setEnabled(boolean enabled)
Enables and disables this configuration.
|
MCMutualAuthConfig |
setFactoryClassName(String factoryClassName)
Sets the name for the implementation class.
|
MCMutualAuthConfig |
setFactoryImplementation(Object factoryImplementation)
Sets the implementation object.
|
MCMutualAuthConfig |
setProperties(Properties properties)
Sets the properties.
|
MCMutualAuthConfig |
setProperty(String name,
String value)
Sets a property.
|
String |
toString() |
public String getFactoryClassName()
Class can either be an SSLContextFactory
.
public MCMutualAuthConfig setFactoryClassName(String factoryClassName)
Class can either be an SSLContextFactory
.
factoryClassName
- the name implementation classpublic boolean isEnabled()
true
if enabled, false
otherwisepublic MCMutualAuthConfig setEnabled(boolean enabled)
enabled
- true
to enable, false
to disablepublic MCMutualAuthConfig setFactoryImplementation(Object factoryImplementation)
Object must be instance of an SSLContextFactory
.
factoryImplementation
- the implementation objectpublic Object getFactoryImplementation()
Object is instance of an SSLContextFactory
public MCMutualAuthConfig setProperty(String name, String value)
name
- the name of the property to setvalue
- 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 getNullPointerException
- if name is null
public Properties getProperties()
public MCMutualAuthConfig setProperties(Properties properties)
properties
- the properties to setIllegalArgumentException
- if properties is null
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.