Class DefaultSSLContextFactory

java.lang.Object
org.apache.activemq.artemis.core.remoting.impl.ssl.DefaultSSLContextFactory
All Implemented Interfaces:
Comparable<SSLContextFactory>, SSLContextFactory
Direct Known Subclasses:
CachingSSLContextFactory, WildFlySSLContextFactory

public class DefaultSSLContextFactory extends Object implements SSLContextFactory
Simple SSLContextFactory for use in NettyConnector and NettyAcceptor.
  • Constructor Details

    • DefaultSSLContextFactory

      public DefaultSSLContextFactory()
  • Method Details

    • getSSLContext

      public SSLContext getSSLContext(SSLContextConfig config, Map<String,Object> additionalOpts) throws Exception
      Specified by:
      getSSLContext in interface SSLContextFactory
      additionalOpts - implementation specific additional options.
      Returns:
      an SSLContext for the given configuration
      Throws:
      Exception
    • getPriority

      public int getPriority()
      Description copied from interface: SSLContextFactory
      The priority for the SSLContextFactory when resolving the service to get the implementation. This is used when selecting the implementation when several implementations are loaded. The highest priority implementation will be used.
      Specified by:
      getPriority in interface SSLContextFactory
      Returns:
      the priority