Set what you test
This commit is contained in:
parent
36fdf9b788
commit
30888e134b
|
@ -68,6 +68,11 @@ public class SecureRequestCustomizer implements HttpConfiguration.Customizer
|
|||
{
|
||||
if (request.getHttpChannel().getEndPoint() instanceof DecryptedEndPoint)
|
||||
{
|
||||
request.setSecure(true);
|
||||
|
||||
if (request.getHttpURI().getScheme()==null)
|
||||
request.getHttpURI().setScheme(HttpScheme.HTTPS.asString());
|
||||
|
||||
SslConnection.DecryptedEndPoint ssl_endp = (DecryptedEndPoint)request.getHttpChannel().getEndPoint();
|
||||
SslConnection sslConnection = ssl_endp.getSslConnection();
|
||||
SSLEngine sslEngine=sslConnection.getSSLEngine();
|
||||
|
|
Loading…
Reference in New Issue