net.dpml.http
Class SslSocketConnector

java.lang.Object
  extended by org.mortbay.component.AbstractLifeCycle
      extended by org.mortbay.jetty.AbstractConnector
          extended by org.mortbay.jetty.bio.SocketConnector
              extended by org.mortbay.jetty.security.SslSocketConnector
                  extended by net.dpml.http.SslSocketConnector
All Implemented Interfaces:
LifeCycle, Buffers, Connector

public class SslSocketConnector
extends SslSocketConnector

SSL socket connector.

Version:
0.2.0
Author:
Digital Product Meta Library

Nested Class Summary
static interface SslSocketConnector.Context
          SSL connector context definition.
 
Nested classes/interfaces inherited from class org.mortbay.jetty.bio.SocketConnector
SocketConnector.Connection
 
Field Summary
 
Fields inherited from class org.mortbay.jetty.security.SslSocketConnector
KEYPASSWORD_PROPERTY, PASSWORD_PROPERTY
 
Fields inherited from class org.mortbay.jetty.bio.SocketConnector
_connections, _serverSocket
 
Fields inherited from class org.mortbay.jetty.AbstractConnector
_lowResourceMaxIdleTime, _maxIdleTime, _soLingerTime
 
Constructor Summary
SslSocketConnector(SslSocketConnector.Context context)
          Creation of a new ssl connector.
 
Method Summary
protected  SSLServerSocketFactory createFactory()
          Create a new SSLServerSocketFactory.
 
Methods inherited from class org.mortbay.jetty.security.SslSocketConnector
configure, customize, getExcludeCipherSuites, getKeystore, getKeystoreType, getNeedClientAuth, getProtocol, getProvider, getSecureRandomAlgorithm, getSslKeyManagerFactoryAlgorithm, getSslTrustManagerFactoryAlgorithm, getTruststore, getTruststoreType, getWantClientAuth, isConfidential, isIntegral, newServerSocket, setExcludeCipherSuites, setKeyPassword, setKeystore, setKeystoreType, setNeedClientAuth, setPassword, setProtocol, setProvider, setSecureRandomAlgorithm, setSslKeyManagerFactoryAlgorithm, setSslTrustManagerFactoryAlgorithm, setTrustPassword, setTruststore, setTruststoreType, setWantClientAuth
 
Methods inherited from class org.mortbay.jetty.bio.SocketConnector
accept, close, doStart, doStop, getConnection, getLocalPort, newBuffer, open
 
Methods inherited from class org.mortbay.jetty.AbstractConnector
connectionClosed, connectionOpened, getAcceptors, getAcceptQueueSize, getBuffer, getConfidentialPort, getConfidentialScheme, getConnections, getConnectionsDurationAve, getConnectionsDurationMax, getConnectionsDurationMin, getConnectionsDurationTotal, getConnectionsOpen, getConnectionsOpenMax, getConnectionsOpenMin, getConnectionsRequestsAve, getConnectionsRequestsMax, getConnectionsRequestsMin, getHeaderBufferSize, getHost, getIntegralPort, getIntegralScheme, getLowResourceMaxIdleTime, getMaxIdleTime, getName, getPort, getRequestBufferSize, getRequests, getResolveNames, getResponseBufferSize, getServer, getSoLingerTime, getStatsOn, getStatsOnMs, getThreadPool, join, newContinuation, returnBuffer, setAcceptors, setAcceptQueueSize, setConfidentialPort, setConfidentialScheme, setHeaderBufferSize, setHost, setIntegralPort, setIntegralScheme, setLowResourceMaxIdleTime, setMaxIdleTime, setName, setPort, setRequestBufferSize, setResolveNames, setResponseBufferSize, setServer, setSoLingerTime, setStatsOn, setThreadPool, statsReset, toString
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mortbay.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 

Constructor Detail

SslSocketConnector

public SslSocketConnector(SslSocketConnector.Context context)
                   throws Exception
Creation of a new ssl connector.

Parameters:
context - the deployment context
Throws:
Exception - if an instantiation error occurs
Method Detail

createFactory

protected SSLServerSocketFactory createFactory()
                                        throws Exception
Create a new SSLServerSocketFactory.

Overrides:
createFactory in class SslSocketConnector
Returns:
the factory
Throws:
Exception - if an error occurs during factory creation