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.SSLServerSocketFactory
DummySSLServerSocketFactory - NOT SECURE
Contains a preconfigured key store for convenience in testing by avoiding
having to manually setup, install, and generate keystore / keys.
By default, the factory loads the resource greenmail.jks
from classpath.
GreenMail provides this resource, which can be overloaded
- Since:
- Feb 2006
- Author:
- Wael Chatila
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummySSLServerSocketFactory
public DummySSLServerSocketFactory()
getDefault
public static javax.net.ServerSocketFactory getDefault()
createServerSocket
public java.net.ServerSocket createServerSocket()
throws java.io.IOException
- Overrides:
createServerSocket
in class javax.net.ServerSocketFactory
- Throws:
java.io.IOException
createServerSocket
public java.net.ServerSocket createServerSocket(int i)
throws java.io.IOException
- Specified by:
createServerSocket
in class javax.net.ServerSocketFactory
- Throws:
java.io.IOException
createServerSocket
public java.net.ServerSocket createServerSocket(int i,
int i1)
throws java.io.IOException
- Specified by:
createServerSocket
in class javax.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:
createServerSocket
in class javax.net.ServerSocketFactory
- Throws:
java.io.IOException
getDefaultCipherSuites
public java.lang.String[] getDefaultCipherSuites()
- Specified by:
getDefaultCipherSuites
in class javax.net.ssl.SSLServerSocketFactory
getSupportedCipherSuites
public java.lang.String[] getSupportedCipherSuites()
- Specified by:
getSupportedCipherSuites
in class javax.net.ssl.SSLServerSocketFactory
getKeyStore
public java.security.KeyStore getKeyStore()
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.