List of usage examples for javax.rmi.ssl SslRMIServerSocketFactory getEnabledProtocols
public final String[] getEnabledProtocols()
Returns the names of the protocol versions enabled on SSL connections accepted by server sockets created by this factory, or null
if this factory uses the protocol versions that are enabled by default.
From source file:org.apache.cassandra.utils.JMXServerUtils.java
private static void logJmxSslConfig(SslRMIServerSocketFactory serverFactory) { logger.debug("JMX SSL configuration. { protocols: [{}], cipher_suites: [{}], require_client_auth: {} }", serverFactory.getEnabledProtocols() == null ? "'JVM defaults'" : Arrays.stream(serverFactory.getEnabledProtocols()).collect( Collectors.joining("','", "'", "'")), serverFactory.getEnabledCipherSuites() == null ? "'JVM defaults'" : Arrays.stream(serverFactory.getEnabledCipherSuites()) .collect(Collectors.joining("','", "'", "'")), serverFactory.getNeedClientAuth()); }