/** * Constructs new instance of MX4JServerSocketFactory. * * @param useSSL * true if ssl is to be enabled * @param needClientAuth * true if client authentication is required * @param protocols * space-delimited list of ssl protocols to use * @param ciphers * space-delimited list of ssl ciphers to use * @param gfsecurityProps * vendor properties passed in through gfsecurity.properties */ public MX4JServerSocketFactory(boolean useSSL, boolean needClientAuth, String protocols, String ciphers, Properties gfsecurityProps) { if (protocols == null || protocols.length() == 0) { protocols = DistributionConfig.DEFAULT_SSL_PROTOCOLS; } if (ciphers == null || ciphers.length() == 0) { ciphers = DistributionConfig.DEFAULT_SSL_CIPHERS; } this.socketCreator = SocketCreator.createNonDefaultInstance( useSSL, needClientAuth, protocols, ciphers, gfsecurityProps); }
this.socketCreator = SocketCreator.createNonDefaultInstance( useSSL, needClientAuth, protocols, ciphers, gfsecurityProps);
final SocketCreator sc = SocketCreator.createNonDefaultInstance(ssl, this.config.getJmxManagerSSLRequireAuthentication(), this.config.getJmxManagerSSLProtocols(),
final SocketCreator sc = SocketCreator.createNonDefaultInstance(ssl, this.config.getJmxManagerSSLRequireAuthentication(), this.config.getJmxManagerSSLProtocols(), this.config.getJmxManagerSSLCiphers(),
if (sender != null && !sender.getGatewayTransportFilters().isEmpty()) { DistributionConfig config = new DistributionConfigImpl(new Properties()); sc = SocketCreator.createNonDefaultInstance(config.getSSLEnabled(), config.getSSLRequireAuthentication(), config.getSSLProtocols(), config.getSSLCiphers(), config.getSSLProperties());
if(!isGatewayReceiver) { this.socketCreator = SocketCreator.createNonDefaultInstance(config.getServerSSLEnabled(), config.getServerSSLRequireAuthentication(), config.getServerSSLProtocols(), config.getServerSSLProperties()); } else { this.socketCreator = SocketCreator.createNonDefaultInstance(config.getGatewaySSLEnabled(), config.getGatewaySSLRequireAuthentication(), config.getGatewaySSLProtocols(),
DistributionConfig config = InternalDistributedSystem.getConnectedInstance().getConfig(); if (this.usedByGateway || (this.gatewaySender != null)) { this.socketCreator = SocketCreator.createNonDefaultInstance(config.getGatewaySSLEnabled(), config.getGatewaySSLRequireAuthentication(), config.getGatewaySSLProtocols(), config.getGatewaySSLCiphers(), config.getGatewaySSLProperties()); this.socketCreator = SocketCreator.createNonDefaultInstance(config.getServerSSLEnabled(), config.getServerSSLRequireAuthentication(), config.getServerSSLProtocols(),