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 classWildFlyElytronClientDefaultSSLContextProvider.ClientSSLContextProviderService-
Nested classes/interfaces inherited from class java.security.Provider
Provider.Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_ALGORITHM_NAMEstatic StringELYTRON_CLIENT_DEFAULT_SSL_CONTEXT_PROVIDER_NAMEprivate static longserialVersionUIDstatic StringSERVICE_IMPLEMENTATION_CLASSstatic StringSSL_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 Providerconfigure(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
-
-