Class WildFlyElytronClientDefaultSSLContextProvider

java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
java.security.Provider
org.wildfly.security.auth.client.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:
  • Field Details

  • Constructor Details

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

    • 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