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
    • 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