Class WildFlyElytronClientDefaultSSLContextProvider

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<Object,​Object>

    @MetaInfServices(java.security.Provider.class)
    public final class WildFlyElytronClientDefaultSSLContextProvider
    extends Provider
    Provider that loads Elytron client configuration and provides default SSLContext which can be returned with SSLContext.getDefault() call. Default SSLContext is the configured SSL context that does not have any specific rule when it should be used, so it matches all rules.
    See Also:
    Serialized Form
    • Field Detail

      • ELYTRON_CLIENT_DEFAULT_SSL_CONTEXT_PROVIDER_NAME

        public static final String ELYTRON_CLIENT_DEFAULT_SSL_CONTEXT_PROVIDER_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • WildFlyElytronClientDefaultSSLContextProvider

        public WildFlyElytronClientDefaultSSLContextProvider()
        WildFlyElytronClientDefaultSSLContextProvider that uses Elytron client configuration found on classpath.
      • WildFlyElytronClientDefaultSSLContextProvider

        public WildFlyElytronClientDefaultSSLContextProvider​(String configPath)
        WildFlyElytronClientDefaultSSLContextProvider that uses Elytron client configuration found on provided path.
        Parameters:
        configPath - path to Elytron client configuration path
    • Method Detail

      • configure

        public Provider configure​(String configPath)
        Configures WildFlyElytronClientDefaultSSLContextProvider with the provided Elytron client configuration path
        Overrides:
        configure in class Provider
        Parameters:
        configPath - path to Elytron client configuration path