Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mortbay.http.ibmjsse
Class IbmJsseListener  view IbmJsseListener download IbmJsseListener.java

java.lang.Object
  extended byorg.mortbay.util.ThreadPool
      extended byorg.mortbay.util.ThreadedServer
          extended byorg.mortbay.http.SocketListener
              extended byorg.mortbay.http.JsseListener
                  extended byorg.mortbay.http.ibmjsse.IbmJsseListener
All Implemented Interfaces:
org.mortbay.http.HttpListener, org.mortbay.util.LifeCycle, java.io.Serializable

public class IbmJsseListener
extends org.mortbay.http.JsseListener

SSL Socket Listener for IBM's JSSE. This specialization of JsseListener is an specific listener using the JSSE provider included with the IBM JVMs This is heavily based on the work from Court Demas, which in turn is based on the work from Forge Research.

Version:
$Id: IbmJsseListener.java,v 1.3 2003/09/18 13:29:15 gregwilkins Exp $

Nested Class Summary
 
Nested classes inherited from class org.mortbay.http.JsseListener
 
Nested classes inherited from class org.mortbay.util.ThreadedServer
 
Nested classes inherited from class org.mortbay.util.ThreadPool
org.mortbay.util.ThreadPool.PoolThread
 
Field Summary
private  org.mortbay.util.Password _keypassword
           
private  java.lang.String _keystore
           
private  java.lang.String _keystore_provider_class
           
private  java.lang.String _keystore_provider_name
           
private  java.lang.String _keystore_type
           
private  org.mortbay.util.Password _password
           
private static org.mortbay.util.Log log
           
 
Fields inherited from class org.mortbay.http.JsseListener
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
 
Fields inherited from class org.mortbay.http.SocketListener
 
Fields inherited from class org.mortbay.util.ThreadedServer
 
Fields inherited from class org.mortbay.util.ThreadPool
__DAEMON, __PRIORITY
 
Fields inherited from interface org.mortbay.http.HttpListener
ATTRIBUTE
 
Constructor Summary
IbmJsseListener()
          Constructor.
IbmJsseListener(org.mortbay.util.InetAddrPort p_address)
          Constructor.
 
Method Summary
protected  javax.net.ssl.SSLServerSocketFactory createFactory()
           
 java.lang.String getKeystore()
           
 java.lang.String getKeystoreProviderClass()
           
 java.lang.String getKeystoreProviderName()
           
 java.lang.String getKeystoreType()
           
 void setKeyPassword(java.lang.String password)
           
 void setKeystore(java.lang.String keystore)
           
 void setKeystoreProviderClass(java.lang.String classname)
           
 void setKeystoreProviderName(java.lang.String name)
           
 void setKeystoreType(java.lang.String keystore_type)
           
 void setPassword(java.lang.String password)
           
 
Methods inherited from class org.mortbay.http.JsseListener
accept, customizeRequest, getNeedClientAuth, isConfidential, isIntegral, newServerSocket, setNeedClientAuth
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mortbay.http.HttpListener
getHost, getPort, setHost, setPort
 
Methods inherited from interface org.mortbay.util.LifeCycle
isStarted
 

Field Detail

log

private static org.mortbay.util.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
Constructor Detail

IbmJsseListener

public IbmJsseListener()
                throws java.io.IOException
Constructor.


IbmJsseListener

public IbmJsseListener(org.mortbay.util.InetAddrPort p_address)
                throws java.io.IOException
Constructor.

Method Detail

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)

createFactory

protected javax.net.ssl.SSLServerSocketFactory createFactory()
                                                      throws java.lang.Exception