java.lang.Object
org.mortbay.util.ThreadPool
org.mortbay.util.ThreadedServer
org.mortbay.http.SocketListener
org.mortbay.http.JsseListener
org.mortbay.http.SunJsseListener
- All Implemented Interfaces:
- HttpListener, org.mortbay.util.LifeCycle, java.io.Serializable
- public class SunJsseListener
- extends JsseListener
SSL Socket Listener for Sun's JSSE.
This specialization of JsseListener is an specific listener
using the Sun reference implementation.
This is heavily based on the work from Court Demas, which in
turn is based on the work from Forge Research.
- Version:
- $Id: SunJsseListener.java,v 1.17 2003/09/18 13:29:21 gregwilkins Exp $
| Nested classes inherited from class org.mortbay.http.JsseListener |
|
| Nested classes inherited from class org.mortbay.util.ThreadPool |
org.mortbay.util.ThreadPool.PoolThread |
| Fields inherited from class org.mortbay.http.JsseListener |
CACHED_INFO_ATTR, DEFAULT_KEYSTORE, DEFAULT_KEYSTORE_PROVIDER_CLASS, DEFAULT_KEYSTORE_PROVIDER_NAME, DEFAULT_KEYSTORE_TYPE, KEYPASSWORD_PROPERTY, KEYSTORE_PROPERTY, KEYSTORE_PROVIDER_CLASS_PROPERTY, KEYSTORE_PROVIDER_NAME_PROPERTY, KEYSTORE_TYPE_PROPERTY, PASSWORD_PROPERTY |
| Methods inherited from class org.mortbay.http.SocketListener |
createConnection, customizeRequest, getBufferReserve, getBufferSize, getConfidentialPort, getConfidentialScheme, getDefaultScheme, getHttpHandler, getHttpServer, getIdentifyListener, getIntegralPort, getIntegralScheme, getLowResourcePersistTimeMs, handleConnection, isLowOnResources, isOutOfResources, persistConnection, setBufferReserve, setBufferSize, setConfidentialPort, setConfidentialScheme, setDefaultScheme, setHttpHandler, setHttpServer, setIdentifyListener, setIntegralPort, setIntegralScheme, setLowResourcePersistTimeMs, start, stop |
| Methods inherited from class org.mortbay.util.ThreadedServer |
acceptSocket, getHost, getInetAddress, getInetAddrPort, getLingerTimeSecs, getMaxReadTimeMs, getPort, getServerSocket, getTcpNoDelay, handle, handleConnection, open, setHost, setInetAddress, setInetAddrPort, setLingerTimeSecs, setMaxReadTimeMs, setPort, setTcpNoDelay, stopJob, toString |
| Methods inherited from class org.mortbay.util.ThreadPool |
getIdleThreads, getMaxIdleTimeMs, getMaxThreads, getMinThreads, getName, getPoolName, getThreads, getThreadsPriority, isDaemon, isStarted, join, run, setDaemon, setMaxIdleTimeMs, setMaxStopTimeMs, setMaxThreads, setMinThreads, setName, setPoolName, setThreadsPriority, shrink |
log
private static org.apache.commons.logging.Log log
_keystore
private java.lang.String _keystore
_password
private transient org.mortbay.util.Password _password
_keypassword
private transient org.mortbay.util.Password _keypassword
_keystore_type
private java.lang.String _keystore_type
_keystore_provider_name
private java.lang.String _keystore_provider_name
_keystore_provider_class
private java.lang.String _keystore_provider_class
_useDefaultTrustStore
private boolean _useDefaultTrustStore
SunJsseListener
public SunJsseListener()
- Constructor.
SunJsseListener
public SunJsseListener(org.mortbay.util.InetAddrPort p_address)
- Constructor.
setKeystore
public void setKeystore(java.lang.String keystore)
getKeystore
public java.lang.String getKeystore()
setPassword
public void setPassword(java.lang.String password)
setKeyPassword
public void setKeyPassword(java.lang.String password)
setKeystoreType
public void setKeystoreType(java.lang.String keystore_type)
getKeystoreType
public java.lang.String getKeystoreType()
setKeystoreProviderName
public void setKeystoreProviderName(java.lang.String name)
getKeystoreProviderName
public java.lang.String getKeystoreProviderName()
getKeystoreProviderClass
public java.lang.String getKeystoreProviderClass()
setKeystoreProviderClass
public void setKeystoreProviderClass(java.lang.String classname)
getUseDefaultTrustStore
public boolean getUseDefaultTrustStore()
- Gets the default trust store flag.
setUseDefaultTrustStore
public void setUseDefaultTrustStore(boolean flag)
- Set a flag to determine if the default truststore should be used to
initialize the TrustManager. The default truststore will typically be
the ${JAVA_HOME}/jre/lib/security/cacerts.
createFactory
protected javax.net.ssl.SSLServerSocketFactory createFactory()
throws java.lang.Exception
- Specified by:
createFactory in class JsseListener