public class SslConfigurationBuilder extends AbstractSecurityConfigurationChildBuilder implements org.infinispan.commons.configuration.Builder<SslConfiguration>
Modifier | Constructor and Description |
---|---|
protected |
SslConfigurationBuilder(SecurityConfigurationBuilder builder) |
Modifier and Type | Method and Description |
---|---|
SslConfiguration |
create() |
SslConfigurationBuilder |
disable()
Disables the SSL support
|
SslConfigurationBuilder |
enable()
Enables the SSL support
|
SslConfigurationBuilder |
enabled(boolean enabled)
Enables or disables the SSL support
|
SslConfigurationBuilder |
keyStoreFileName(String keyStoreFileName)
Specifies the filename of a keystore to use to create the
SSLContext You also need to
specify a SslConfigurationBuilder.keyStorePassword(char[]) . |
SslConfigurationBuilder |
keyStorePassword(char[] keyStorePassword)
Specifies the password needed to open the keystore You also need to specify a
SslConfigurationBuilder.keyStoreFileName(String) Alternatively specify an array of
#keyManagers(KeyManager[]) |
SslConfigurationBuilder |
read(SslConfiguration template) |
SslConfigurationBuilder |
sslContext(SSLContext sslContext) |
SslConfigurationBuilder |
trustStoreFileName(String trustStoreFileName)
Specifies the filename of a truststore to use to create the
SSLContext You also need
to specify a SslConfigurationBuilder.trustStorePassword(char[]) . |
SslConfigurationBuilder |
trustStorePassword(char[] trustStorePassword)
Specifies the password needed to open the truststore You also need to specify a
SslConfigurationBuilder.trustStoreFileName(String) Alternatively specify an array of
#trustManagers(TrustManager[]) |
void |
validate() |
authentication, ssl
addCluster, addServer, addServers, asyncExecutorFactory, balancingStrategy, balancingStrategy, build, classLoader, connectionPool, connectionTimeout, consistentHashImpl, consistentHashImpl, forceReturnValues, keySizeEstimate, marshaller, marshaller, marshaller, maxRetries, pingOnStartup, protocolVersion, security, socketTimeout, tcpKeepAlive, tcpNoDelay, transportFactory, transportFactory, valueSizeEstimate, withProperties
protected SslConfigurationBuilder(SecurityConfigurationBuilder builder)
public SslConfigurationBuilder disable()
public SslConfigurationBuilder enable()
public SslConfigurationBuilder enabled(boolean enabled)
public SslConfigurationBuilder keyStoreFileName(String keyStoreFileName)
SSLContext
You also need to
specify a SslConfigurationBuilder.keyStorePassword(char[])
. Alternatively specify an array of
#keyManagers(KeyManager[])
public SslConfigurationBuilder keyStorePassword(char[] keyStorePassword)
SslConfigurationBuilder.keyStoreFileName(String)
Alternatively specify an array of
#keyManagers(KeyManager[])
public SslConfigurationBuilder sslContext(SSLContext sslContext)
public SslConfigurationBuilder trustStoreFileName(String trustStoreFileName)
SSLContext
You also need
to specify a SslConfigurationBuilder.trustStorePassword(char[])
. Alternatively specify an array of
#trustManagers(TrustManager[])
public SslConfigurationBuilder trustStorePassword(char[] trustStorePassword)
SslConfigurationBuilder.trustStoreFileName(String)
Alternatively specify an array of
#trustManagers(TrustManager[])
public void validate()
public SslConfiguration create()
public SslConfigurationBuilder read(SslConfiguration template)
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.