Package com.icegreen.greenmail.util
Class DummySSLServerSocketFactory
- java.lang.Object
-
- javax.net.ServerSocketFactory
-
- javax.net.ssl.SSLServerSocketFactory
-
- com.icegreen.greenmail.util.DummySSLServerSocketFactory
-
public class DummySSLServerSocketFactory extends javax.net.ssl.SSLServerSocketFactoryDummySSLServerSocketFactory - NOT SECURE Contains a hardcoded memory store for convenience in testing by avoiding having to manually setup, install, and generate keystore / keys- Since:
- Feb 2006
- Author:
- Wael Chatila
-
-
Constructor Summary
Constructors Constructor Description DummySSLServerSocketFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.ServerSocketcreateServerSocket()java.net.ServerSocketcreateServerSocket(int i)java.net.ServerSocketcreateServerSocket(int i, int i1)java.net.ServerSocketcreateServerSocket(int i, int i1, java.net.InetAddress inetAddress)static javax.net.ServerSocketFactorygetDefault()java.lang.String[]getDefaultCipherSuites()java.lang.String[]getSupportedCipherSuites()
-
-
-
Method Detail
-
getDefault
public static javax.net.ServerSocketFactory getDefault()
-
createServerSocket
public java.net.ServerSocket createServerSocket() throws java.io.IOException- Overrides:
createServerSocketin classjavax.net.ServerSocketFactory- Throws:
java.io.IOException
-
createServerSocket
public java.net.ServerSocket createServerSocket(int i) throws java.io.IOException- Specified by:
createServerSocketin classjavax.net.ServerSocketFactory- Throws:
java.io.IOException
-
createServerSocket
public java.net.ServerSocket createServerSocket(int i, int i1) throws java.io.IOException- Specified by:
createServerSocketin classjavax.net.ServerSocketFactory- Throws:
java.io.IOException
-
createServerSocket
public java.net.ServerSocket createServerSocket(int i, int i1, java.net.InetAddress inetAddress) throws java.io.IOException- Specified by:
createServerSocketin classjavax.net.ServerSocketFactory- Throws:
java.io.IOException
-
getDefaultCipherSuites
public java.lang.String[] getDefaultCipherSuites()
- Specified by:
getDefaultCipherSuitesin classjavax.net.ssl.SSLServerSocketFactory
-
getSupportedCipherSuites
public java.lang.String[] getSupportedCipherSuites()
- Specified by:
getSupportedCipherSuitesin classjavax.net.ssl.SSLServerSocketFactory
-
-