public interface SNIServerConfigResolver
SSLEngineConfigurator
based on the SNI host name information sent
from client.Modifier and Type | Method and Description |
---|---|
SNIConfig |
resolve(Connection connection,
String hostname)
Returns
SNIConfig for the new Connection , null
value means use default SSLBaseFilter.getServerSSLEngineConfigurator() . |
SNIConfig resolve(Connection connection, String hostname)
SNIConfig
for the new Connection
, null
value means use default SSLBaseFilter.getServerSSLEngineConfigurator()
.
The SNIConfig
could be created like:
SNIConfig.serverConfigBuilder()
.sslEngineConfigurator(myHostSSLEngineConfigurator)
.build();
connection
- hostname
- the SNI host name sent by a clientSNIConfig
for the new Connection
, null
value means use default SSLBaseFilter.getServerSSLEngineConfigurator()
Copyright © 2015 Oracle Corporation. All rights reserved.