public class SecureRequestCustomizer extends Object implements HttpConfiguration.Customizer
Customizer that extracts the attribute from an SSLContext
and sets them on the request with ServletRequest.setAttribute(String, Object)
according to Servlet Specification Requirements.
Modifier and Type | Field and Description |
---|---|
static String |
CACHED_INFO_ATTR
The name of the SSLSession attribute that will contain any cached information.
|
Constructor and Description |
---|
SecureRequestCustomizer() |
SecureRequestCustomizer(boolean sniHostCheck) |
Modifier and Type | Method and Description |
---|---|
void |
customize(Connector connector,
HttpConfiguration channelConfig,
Request request) |
void |
customize(SSLEngine sslEngine,
Request request)
Customizes the request attributes to be set for SSL requests.
|
String |
toString() |
public static final String CACHED_INFO_ATTR
public SecureRequestCustomizer()
public SecureRequestCustomizer(boolean sniHostCheck)
public void customize(Connector connector, HttpConfiguration channelConfig, Request request)
customize
in interface HttpConfiguration.Customizer
public void customize(SSLEngine sslEngine, Request request)
Customizes the request attributes to be set for SSL requests.
The requirements of the Servlet specs are:
request
- HttpRequest to be customized.Copyright © 1995-2015 Webtide. All Rights Reserved.