org.mortbay.http.ibmjsse

Class IbmJsseListener

Implemented Interfaces:
HttpListener, LifeCycle, Serializable

public class IbmJsseListener
extends 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.6 2006/01/05 12:09:07 gregwilkins Exp $
Authors:
Martin Cordova (mcordova@megaserv.com)
Greg Wilkins (gregw@mortbay.com)
Court Demas (court@kiwiconsulting.com)
Forge Research Pty Ltd ACN 003 491 576

Nested Class Summary

Nested classes/interfaces inherited from class org.mortbay.util.ThreadPool

ThreadPool.PoolThread

Field Summary

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.util.ThreadPool

__DAEMON, __PRIORITY

Fields inherited from interface org.mortbay.http.HttpListener

ATTRIBUTE

Constructor Summary

IbmJsseListener()
Constructor.
IbmJsseListener(InetAddrPort p_address)
Constructor.

Method Summary

protected SSLServerSocketFactory
createFactory()
String
getKeystore()
String
getKeystoreProviderClass()
String
getKeystoreProviderName()
String
getKeystoreType()
void
setKeyPassword(String password)
void
setKeystore(String keystore)
void
setKeystoreProviderClass(String classname)
void
setKeystoreProviderName(String name)
void
setKeystoreType(String keystore_type)
void
setPassword(String password)

Methods inherited from class org.mortbay.http.JsseListener

accept, createFactory, customizeRequest, getNeedClientAuth, isConfidential, isIntegral, newServerSocket, setNeedClientAuth

Methods inherited from class org.mortbay.http.SocketListener

createConnection, customizeRequest, customizeRequest, getBufferReserve, getBufferSize, getConfidentialPort, getConfidentialScheme, getDefaultScheme, getHttpHandler, getHttpServer, getIdentifyListener, getIntegralPort, getIntegralScheme, getLowResourcePersistTimeMs, getLowResources, handleConnection, isConfidential, isIntegral, isLowOnResources, isOutOfResources, persistConnection, setBufferReserve, setBufferSize, setConfidentialPort, setConfidentialScheme, setDefaultScheme, setHttpHandler, setHttpServer, setIdentifyListener, setIntegralPort, setIntegralScheme, setLowResourcePersistTimeMs, setLowResources, start, stop

Methods inherited from class org.mortbay.util.ThreadedServer

acceptSocket, acceptSocket, getAcceptQueueSize, getAcceptorThreads, getHost, getInetAddrPort, getInetAddress, getLingerTimeSecs, getMaxReadTimeMs, getPort, getServerSocket, getTcpNoDelay, handle, handleConnection, handleConnection, newServerSocket, open, setAcceptQueueSize, setAcceptorThreads, setHost, setInetAddrPort, setInetAddress, setLingerTimeSecs, setMaxReadTimeMs, setPort, setTcpNoDelay, start, stop, stopJob, toString

Methods inherited from class org.mortbay.util.ThreadPool

getIdleThreads, getMaxIdleTimeMs, getMaxThreads, getMinThreads, getName, getPoolName, getThreads, getThreadsPriority, handle, isDaemon, isStarted, join, run, setDaemon, setMaxIdleTimeMs, setMaxStopTimeMs, setMaxThreads, setMinThreads, setName, setPoolName, setThreadsPriority, shrink, start, stop, stopJob

Constructor Details

IbmJsseListener

public IbmJsseListener()
            throws IOException
Constructor.

IbmJsseListener

public IbmJsseListener(InetAddrPort p_address)
            throws IOException
Constructor.
Parameters:
p_address -

Method Details

createFactory

protected SSLServerSocketFactory createFactory()
            throws Exception
Overrides:
createFactory in interface JsseListener

getKeystore

public String getKeystore()

getKeystoreProviderClass

public String getKeystoreProviderClass()

getKeystoreProviderName

public String getKeystoreProviderName()

getKeystoreType

public String getKeystoreType()

setKeyPassword

public void setKeyPassword(String password)

setKeystore

public void setKeystore(String keystore)

setKeystoreProviderClass

public void setKeystoreProviderClass(String classname)

setKeystoreProviderName

public void setKeystoreProviderName(String name)

setKeystoreType

public void setKeystoreType(String keystore_type)

setPassword

public void setPassword(String password)

Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.