Package org.wildfly.security.dynamic.ssl
Interface DynamicSSLContextSPI
-
- All Known Implementing Classes:
DynamicSSLContextImpl
public interface DynamicSSLContextSPIThis interface provides configuration that is used by DynamicSSLContext.- Author:
- Diana Krepinska
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SSLContextgetConfiguredDefault()Get SSLContext that will be used as a default, eg. when no URI is provided.List<SSLContext>getConfiguredSSLContexts()Get list of all configured SSLContexts.SSLContextgetSSLContext(URI uri)Get the SSLContext that matches the given URI.
-
-
-
Method Detail
-
getConfiguredDefault
SSLContext getConfiguredDefault() throws DynamicSSLContextException
Get SSLContext that will be used as a default, eg. when no URI is provided.- Returns:
- configured default SSLContext
- Throws:
DynamicSSLContextException
-
getConfiguredSSLContexts
List<SSLContext> getConfiguredSSLContexts() throws DynamicSSLContextException
Get list of all configured SSLContexts. This is used to obtain cipher suites supported by all SSLContexts.- Returns:
- list of all configured SSLContexts
- Throws:
DynamicSSLContextException
-
getSSLContext
SSLContext getSSLContext(URI uri) throws DynamicSSLContextException
Get the SSLContext that matches the given URI.- Returns:
- SSLContext that matches the given URI
- Throws:
DynamicSSLContextException
-
-