Package org.wildfly.security.dynamic.ssl
Class DynamicSSLContextImpl
java.lang.Object
org.wildfly.security.dynamic.ssl.DynamicSSLContextImpl
- All Implemented Interfaces:
DynamicSSLContextSPI
@MetaInfServices(DynamicSSLContextSPI.class)
public class DynamicSSLContextImpl
extends Object
implements DynamicSSLContextSPI
Elytron client implementation of DynamicSSLContextSPI. It uses configuration from either provided instance of AuthenticationContext
or from current AuthenticationContext if a configuration was not provided.
- Author:
- Diana Krepinska (Vilkolakova)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet SSLContext that will be used as a default, eg. when no URI is provided.Get list of all configured SSLContexts.getSSLContext(URI uri) Get the SSLContext that matches the given URI.
-
Constructor Details
-
DynamicSSLContextImpl
- Throws:
GeneralSecurityException
-
DynamicSSLContextImpl
public DynamicSSLContextImpl(AuthenticationContext authenticationContext) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
-
Method Details
-
getConfiguredDefault
Description copied from interface:DynamicSSLContextSPIGet SSLContext that will be used as a default, eg. when no URI is provided.- Specified by:
getConfiguredDefaultin interfaceDynamicSSLContextSPI- Returns:
- configured default SSLContext
- Throws:
DynamicSSLContextException
-
getConfiguredSSLContexts
Description copied from interface:DynamicSSLContextSPIGet list of all configured SSLContexts. This is used to obtain cipher suites supported by all SSLContexts.- Specified by:
getConfiguredSSLContextsin interfaceDynamicSSLContextSPI- Returns:
- list of all configured SSLContexts
- Throws:
DynamicSSLContextException
-
getSSLContext
Description copied from interface:DynamicSSLContextSPIGet the SSLContext that matches the given URI.- Specified by:
getSSLContextin interfaceDynamicSSLContextSPI- Returns:
- SSLContext that matches the given URI
- Throws:
DynamicSSLContextException
-