defaultConfig.setTrustStorePassword(wlsSslTrustStorePassword);
}
}
// client mode = true, needClientAuth = false, wantClientAuth = false
SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(defaultConfig, true, false, false);
String wlsSslProtocols = (String) cec.getUserProperties().get(ClientManager.WLS_SSL_PROTOCOLS_PROPERTY);
if (wlsSslProtocols != null) {
sslEngineConfigurator.setEnabledProtocols(wlsSslProtocols.split(","));
}
sslFilter = new SslFilter(writeQueue, sslEngineConfigurator);
}
return sslFilter;
}