Package org.wildfly.security.dynamic.ssl
Class DynamicSSLContext
java.lang.Object
javax.net.ssl.SSLContext
org.wildfly.security.dynamic.ssl.DynamicSSLContext
- All Implemented Interfaces:
ActiveSessionsSSLContext
SSLContext that resolves which SSLContext to use based on peer's host and port information.
- Author:
- Diana Krepinska
-
Constructor Summary
ConstructorsConstructorDescriptionThis constructor uses ServiceLoader to find provider of DynamicSSLContextSPI on classpath.DynamicSSLContext(DynamicSSLContextSPI dynamicSSLContextSPIImpl) This constructor uses received DynamicSSLContextSPI implementation or finds it on classpath if received is null. -
Method Summary
Methods inherited from class javax.net.ssl.SSLContext
createSSLEngine, createSSLEngine, getClientSessionContext, getDefault, getDefaultSSLParameters, getInstance, getInstance, getInstance, getProtocol, getProvider, getServerSessionContext, getServerSocketFactory, getSocketFactory, getSupportedSSLParameters, init, setDefaultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.auth.client.ActiveSessionsSSLContext
hasActiveSessions
-
Constructor Details
-
DynamicSSLContext
This constructor uses ServiceLoader to find provider of DynamicSSLContextSPI on classpath.- Throws:
NoSuchAlgorithmException
-
DynamicSSLContext
public DynamicSSLContext(DynamicSSLContextSPI dynamicSSLContextSPIImpl) throws NoSuchAlgorithmException, DynamicSSLContextException This constructor uses received DynamicSSLContextSPI implementation or finds it on classpath if received is null.- Parameters:
dynamicSSLContextSPIImpl- DynamicSSLContextSPI implementation to use. If null then ServiceLoader is used to locate it on classpath.- Throws:
NoSuchAlgorithmExceptionDynamicSSLContextException
-