public class DisableSslContextFactory extends AbstractSslContextFactory
ISslContextFactory.SocketType
accepted_protocols, algorithm, cipher_suites, enabled, openSslIsAvailable, optional, parameters, protocol, require_client_auth, require_endpoint_verification, store_type, TLS_PROTOCOL_SUBSTITUTION
Constructor and Description |
---|
DisableSslContextFactory() |
Modifier and Type | Method and Description |
---|---|
protected javax.net.ssl.KeyManagerFactory |
buildKeyManagerFactory() |
protected javax.net.ssl.TrustManagerFactory |
buildTrustManagerFactory() |
boolean |
hasKeystore()
Returns if this factory uses private keystore.
|
void |
initHotReloading()
Initializes hot reloading of the security keys/certs.
|
boolean |
shouldReload()
Returns if any changes require the reloading of the SSL context returned by this factory.
|
createJSSESslContext, createNettySslContext, deriveIfOpenSslAvailable, getAcceptedProtocols, getBoolean, getBoolean, getCipherSuites, getSslProvider, getString, getString, getStringList
protected javax.net.ssl.KeyManagerFactory buildKeyManagerFactory() throws javax.net.ssl.SSLException
buildKeyManagerFactory
in class AbstractSslContextFactory
javax.net.ssl.SSLException
protected javax.net.ssl.TrustManagerFactory buildTrustManagerFactory() throws javax.net.ssl.SSLException
buildTrustManagerFactory
in class AbstractSslContextFactory
javax.net.ssl.SSLException
public boolean hasKeystore()
ISslContextFactory
true
by default unless the implementation overrides thispublic void initHotReloading() throws javax.net.ssl.SSLException
ISslContextFactory
javax.net.ssl.SSLException
public boolean shouldReload()
ISslContextFactory
true
if SSL Context needs to be reload; false
otherwiseCopyright © 2009- The Apache Software Foundation