Class SniConfiguration
java.lang.Object
org.jboss.resteasy.plugins.server.netty.SniConfiguration
TLS/SSL Server Name Indication configuration.
- Author:
- Sebastian Ćaskawiec
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final io.netty.util.DomainWildcardMappingBuilder
<io.netty.handler.ssl.SslContext> -
Constructor Summary
ConstructorDescriptionSniConfiguration
(SSLContext defaultServerKeystore) Constructs newSniConfiguration
. -
Method Summary
Modifier and TypeMethodDescriptionaddSniMapping
(String sniHostName, SSLContext sslContext) Adds SNI mapping.protected io.netty.util.Mapping
<String, io.netty.handler.ssl.SslContext>
-
Field Details
-
mapping
protected final io.netty.util.DomainWildcardMappingBuilder<io.netty.handler.ssl.SslContext> mapping
-
-
Constructor Details
-
SniConfiguration
Constructs newSniConfiguration
.- Parameters:
defaultServerKeystore
- default keystore to be used when no SNI is specified by the client.
-
-
Method Details
-
addSniMapping
Adds SNI mapping.- Parameters:
sniHostName
- SNI Host Name from TLS Extensions.sslContext
- SSLContext to be associated with given SNI Host Name.- Returns:
this
configuration.
-
buildMapping
-