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 Modifier and Type Class Description private static class
WildFlyElytronClientDefaultSSLContextProvider.ClientSSLContextProviderService
-
Nested classes/interfaces inherited from class java.security.Provider
Provider.Service
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_ALGORITHM_NAME
static String
ELYTRON_CLIENT_DEFAULT_SSL_CONTEXT_PROVIDER_NAME
private static long
serialVersionUID
static String
SERVICE_IMPLEMENTATION_CLASS
static String
SSL_CONTEXT_SERVICE_TYPE
-
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
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
ELYTRON_CLIENT_DEFAULT_SSL_CONTEXT_PROVIDER_NAME
public static final String ELYTRON_CLIENT_DEFAULT_SSL_CONTEXT_PROVIDER_NAME
- See Also:
- Constant Field Values
-
SSL_CONTEXT_SERVICE_TYPE
public static final String SSL_CONTEXT_SERVICE_TYPE
- See Also:
- Constant Field Values
-
DEFAULT_ALGORITHM_NAME
public static final String DEFAULT_ALGORITHM_NAME
- See Also:
- Constant Field Values
-
SERVICE_IMPLEMENTATION_CLASS
public static final String SERVICE_IMPLEMENTATION_CLASS
- 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
-
-