Package org.glassfish.grizzly.sni
Interface SNIServerConfigResolver
-
public interface SNIServerConfigResolverThe server-side SNI config resolver, which could be used to customizeSSLEngineConfiguratorbased on the SNI host name information sent from client.- Author:
- Alexey Stashok
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SNIConfigresolve(org.glassfish.grizzly.Connection connection, String hostname)ReturnsSNIConfigfor the newConnection,nullvalue means use defaultSSLBaseFilter.getServerSSLEngineConfigurator().
-
-
-
Method Detail
-
resolve
SNIConfig resolve(org.glassfish.grizzly.Connection connection, String hostname)
ReturnsSNIConfigfor the newConnection,nullvalue means use defaultSSLBaseFilter.getServerSSLEngineConfigurator(). TheSNIConfigcould be created like:SNIConfig.serverConfigBuilder() .sslEngineConfigurator(myHostSSLEngineConfigurator) .build();- Parameters:
connection-hostname- the SNI host name sent by a client- Returns:
SNIConfigfor the newConnection,nullvalue means use defaultSSLBaseFilter.getServerSSLEngineConfigurator()
-
-