org.mule.api.security.tls
Class RestrictedSSLServerSocketFactory

java.lang.Object
  extended by javax.net.ServerSocketFactory
      extended by javax.net.ssl.SSLServerSocketFactory
          extended by org.mule.api.security.tls.RestrictedSSLServerSocketFactory

public class RestrictedSSLServerSocketFactory
extends SSLServerSocketFactory

SSLServerSocketFactory decorator that restricts the available protocols and cipher suites in the sockets that are created.


Constructor Summary
RestrictedSSLServerSocketFactory(SSLContext sslContext, String[] cipherSuites, String[] protocols)
           
 
Method Summary
 ServerSocket createServerSocket()
           
 ServerSocket createServerSocket(int port)
           
 ServerSocket createServerSocket(int port, int backlog)
           
 ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress)
           
 String[] getDefaultCipherSuites()
           
 String[] getSupportedCipherSuites()
           
 
Methods inherited from class javax.net.ssl.SSLServerSocketFactory
getDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestrictedSSLServerSocketFactory

public RestrictedSSLServerSocketFactory(SSLContext sslContext,
                                        String[] cipherSuites,
                                        String[] protocols)
Method Detail

createServerSocket

public ServerSocket createServerSocket()
                                throws IOException
Overrides:
createServerSocket in class ServerSocketFactory
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int port)
                                throws IOException
Specified by:
createServerSocket in class ServerSocketFactory
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backlog)
                                throws IOException
Specified by:
createServerSocket in class ServerSocketFactory
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backlog,
                                       InetAddress ifAddress)
                                throws IOException
Specified by:
createServerSocket in class ServerSocketFactory
Throws:
IOException

getDefaultCipherSuites

public String[] getDefaultCipherSuites()
Specified by:
getDefaultCipherSuites in class SSLServerSocketFactory

getSupportedCipherSuites

public String[] getSupportedCipherSuites()
Specified by:
getSupportedCipherSuites in class SSLServerSocketFactory


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.