Package org.wildfly.security.auth.client
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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.security.Provider
Provider.Service
-
-
Field Summary
Fields Modifier and Type Field Description static String
ELYTRON_CLIENT_DEFAULT_SSL_CONTEXT_PROVIDER_NAME
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description WildFlyElytronClientDefaultSSLContextProvider()
WildFlyElytronClientDefaultSSLContextProvider that uses Elytron client configuration found on classpath.WildFlyElytronClientDefaultSSLContextProvider(String configPath)
WildFlyElytronClientDefaultSSLContextProvider that uses Elytron client configuration found on provided path.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Provider
configure(String configPath)
Configures WildFlyElytronClientDefaultSSLContextProvider with the provided Elytron client configuration path-
Methods inherited from class java.security.Provider
clear, compute, computeIfAbsent, computeIfPresent, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, getVersionStr, isConfigured, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, values
-
Methods inherited from class java.util.Properties
clone, contains, containsKey, containsValue, equals, getProperty, hashCode, isEmpty, list, list, load, loadFromXML, propertyNames, rehash, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames
-
-
-
-
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
-
-