Package org.wildfly.security.auth.client
Class WildFlyElytronClientDefaultSSLContextSpi
- java.lang.Object
-
- javax.net.ssl.SSLContextSpi
-
- org.wildfly.security.auth.client.WildFlyElytronClientDefaultSSLContextSpi
-
public class WildFlyElytronClientDefaultSSLContextSpi extends SSLContextSpi
SSLContextSpi that is used by WildFlyElytronClientDefaultSSLContextProvider
-
-
Constructor Summary
Constructors Constructor Description WildFlyElytronClientDefaultSSLContextSpi()
SSLContextSpi used by WildFlyElytronClientDefaultSSLContextProvider that uses AuthenticationContext found on the classpath to retrieve default SSLContext.WildFlyElytronClientDefaultSSLContextSpi(String configPath)
SSLContextSpi used by WildFlyElytronClientDefaultSSLContextProvider that uses Elytron client configuration from provided path to retrieve default SSLContext.WildFlyElytronClientDefaultSSLContextSpi(AuthenticationContext authenticationContext)
SSLContextSpi used by WildFlyElytronClientDefaultSSLContextProvider that uses Elytron client configuration from provided authentication context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SSLEngine
engineCreateSSLEngine()
protected SSLEngine
engineCreateSSLEngine(String s, int i)
protected SSLSessionContext
engineGetClientSessionContext()
protected SSLSessionContext
engineGetServerSessionContext()
protected SSLServerSocketFactory
engineGetServerSocketFactory()
protected SSLSocketFactory
engineGetSocketFactory()
protected void
engineInit(KeyManager[] keyManagers, TrustManager[] trustManagers, SecureRandom secureRandom)
-
Methods inherited from class javax.net.ssl.SSLContextSpi
engineGetDefaultSSLParameters, engineGetSupportedSSLParameters
-
-
-
-
Constructor Detail
-
WildFlyElytronClientDefaultSSLContextSpi
public WildFlyElytronClientDefaultSSLContextSpi() throws GeneralSecurityException
SSLContextSpi used by WildFlyElytronClientDefaultSSLContextProvider that uses AuthenticationContext found on the classpath to retrieve default SSLContext.- Throws:
GeneralSecurityException
-
WildFlyElytronClientDefaultSSLContextSpi
public WildFlyElytronClientDefaultSSLContextSpi(String configPath) throws GeneralSecurityException, org.wildfly.client.config.ConfigXMLParseException
SSLContextSpi used by WildFlyElytronClientDefaultSSLContextProvider that uses Elytron client configuration from provided path to retrieve default SSLContext.- Parameters:
configPath
- path to the Elytron client configuration file- Throws:
GeneralSecurityException
org.wildfly.client.config.ConfigXMLParseException
-
WildFlyElytronClientDefaultSSLContextSpi
public WildFlyElytronClientDefaultSSLContextSpi(AuthenticationContext authenticationContext) throws GeneralSecurityException
SSLContextSpi used by WildFlyElytronClientDefaultSSLContextProvider that uses Elytron client configuration from provided authentication context.- Parameters:
authenticationContext
- authentication context used to retrieve default SSLContext- Throws:
GeneralSecurityException
-
-
Method Detail
-
engineInit
protected void engineInit(KeyManager[] keyManagers, TrustManager[] trustManagers, SecureRandom secureRandom)
- Specified by:
engineInit
in classSSLContextSpi
-
engineGetSocketFactory
protected SSLSocketFactory engineGetSocketFactory()
- Specified by:
engineGetSocketFactory
in classSSLContextSpi
-
engineGetServerSocketFactory
protected SSLServerSocketFactory engineGetServerSocketFactory()
- Specified by:
engineGetServerSocketFactory
in classSSLContextSpi
-
engineCreateSSLEngine
protected SSLEngine engineCreateSSLEngine()
- Specified by:
engineCreateSSLEngine
in classSSLContextSpi
-
engineCreateSSLEngine
protected SSLEngine engineCreateSSLEngine(String s, int i)
- Specified by:
engineCreateSSLEngine
in classSSLContextSpi
-
engineGetServerSessionContext
protected SSLSessionContext engineGetServerSessionContext()
- Specified by:
engineGetServerSessionContext
in classSSLContextSpi
-
engineGetClientSessionContext
protected SSLSessionContext engineGetClientSessionContext()
- Specified by:
engineGetClientSessionContext
in classSSLContextSpi
-
-