Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.mortbay.util.ThreadPool
org.mortbay.util.ThreadedServer
org.mortbay.http.SocketListener
org.mortbay.http.JsseListener
org.mortbay.http.SunJsseListener
public class SunJsseListener
extends JsseListener
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 | |
| |
|
Method Summary | |
protected SSLServerSocketFactory | |
String | |
String | |
String | |
String | |
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.mortbay.http.JsseListener | |
accept , createFactory , customizeRequest , getNeedClientAuth , isConfidential , isIntegral , newServerSocket , setNeedClientAuth |
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 |
protected SSLServerSocketFactory createFactory() throws Exception
- Overrides:
- createFactory in interface JsseListener
public String getKeystore()
public String getKeystoreProviderClass()
public String getKeystoreProviderName()
public String getKeystoreType()
public boolean getUseDefaultTrustStore()
Gets the default trust store flag.
- Returns:
- true if the default truststore will be used to initialize the TrustManager, false otherwise.
public void setKeyPassword(String password)
public void setKeystore(String keystore)
public void setKeystoreProviderClass(String classname)
public void setKeystoreProviderName(String name)
public void setKeystoreType(String keystore_type)
public void setPassword(String password)
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.
- Parameters:
flag
- if true, the default truststore will be used. If false, the configured keystore will be used as the truststore.