org.mule.api.security.tls
Class RestrictedSSLServerSocketFactory
java.lang.Object
javax.net.ServerSocketFactory
javax.net.ssl.SSLServerSocketFactory
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestrictedSSLServerSocketFactory
public RestrictedSSLServerSocketFactory(SSLContext sslContext,
String[] cipherSuites,
String[] protocols)
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.