public interface SSLContextFactory extends Comparable<SSLContextFactory>
META-INF/services/org.apache.activemq.artemis.spi.core.remoting.ssl.SSLContextFactory
in your jar and fill it with the full qualified name of your implementation.Modifier and Type | Method and Description |
---|---|
default void |
clearSSLContexts() |
default int |
compareTo(SSLContextFactory other) |
int |
getPriority()
The priority for the SSLContextFactory when resolving the service to get the implementation.
|
default SSLContext |
getSSLContext(Map<String,Object> configuration,
String keystoreProvider,
String keystorePath,
String keystoreType,
String keystorePassword,
String truststoreProvider,
String truststorePath,
String truststoreType,
String truststorePassword,
String crlPath,
String trustManagerFactoryPlugin,
boolean trustAll)
Deprecated.
use
getSSLContext(SSLContextConfig, Map) instead |
default SSLContext |
getSSLContext(SSLContextConfig config,
Map<String,Object> additionalOpts) |
static final Logger log
@Deprecated default SSLContext getSSLContext(Map<String,Object> configuration, String keystoreProvider, String keystorePath, String keystoreType, String keystorePassword, String truststoreProvider, String truststorePath, String truststoreType, String truststorePassword, String crlPath, String trustManagerFactoryPlugin, boolean trustAll) throws Exception
getSSLContext(SSLContextConfig, Map)
insteadSSLContext
for the given configuration.Exception
default SSLContext getSSLContext(SSLContextConfig config, Map<String,Object> additionalOpts) throws Exception
additionalOpts
- implementation specific additional options.SSLContext
for the given configuration.Exception
default void clearSSLContexts()
int getPriority()
default int compareTo(SSLContextFactory other)
compareTo
in interface Comparable<SSLContextFactory>
Copyright © 2021 JBoss by Red Hat. All rights reserved.