public void configure(SSLConfigurable socket) {
    socket.setEnabledProtocols(enabledProtocols(
        socket.getSupportedProtocols(), socket.getDefaultProtocols()));
    socket.setEnabledCipherSuites(enabledCipherSuites(
        socket.getSupportedCipherSuites(), socket.getDefaultCipherSuites()));
    if (isNeedClientAuth() != null) {
      socket.setNeedClientAuth(isNeedClientAuth());
    }
    if (isWantClientAuth() != null) {
      socket.setWantClientAuth(isWantClientAuth());
    }
  }
public void configure(SSLConfigurable socket) {
    socket.setEnabledProtocols(enabledProtocols(
        socket.getSupportedProtocols(), socket.getDefaultProtocols()));
    socket.setEnabledCipherSuites(enabledCipherSuites(
        socket.getSupportedCipherSuites(), socket.getDefaultCipherSuites()));
    if (isNeedClientAuth() != null) {
      socket.setNeedClientAuth(isNeedClientAuth());
    }
    if (isWantClientAuth() != null) {
      socket.setWantClientAuth(isWantClientAuth());
    }
  }
public void configure ( SSLConfigurable socket ) { socket . setEnabledProtocols ( enabledProtocols ( socket . getSupportedProtocols ( ) , socket . getDefaultProtocols ( ) ) ) ; socket . setEnabledCipherSuites ( enabledCipherSuites ( socket . getSupportedCipherSuites ( ) , socket . getDefaultCipherSuites ( ) ) ) ; if ( isNeedClientAuth ( ) != null ) { socket . setNeedClientAuth ( isNeedClientAuth ( ) ) ; } if ( isWantClientAuth ( ) != null ) { socket . setWantClientAuth ( isWantClientAuth ( ) ) ; } }
Configures SSL parameters on an {@link SSLConfigurable}.
@param socket the subject configurable
Configures SSL parameters on an {