|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.util.ThreadPool
org.mortbay.util.ThreadedServer
org.mortbay.http.SocketListener
org.mortbay.http.SslListener
JSSE Socket Listener. This is heavily based on the work from Court Demas, which in turn is based on the work from Forge Research.
Nested Class Summary |
Nested classes inherited from class org.mortbay.util.ThreadPool |
ThreadPool.PoolThread |
Field Summary | |
static java.lang.String |
DEFAULT_KEYSTORE
Default value for the keystore location path. |
static java.lang.String |
KEYPASSWORD_PROPERTY
String name of key password property. |
static java.lang.String |
PASSWORD_PROPERTY
String name of keystore password property. |
Fields inherited from class org.mortbay.util.ThreadPool |
__DAEMON, __PRIORITY |
Fields inherited from interface org.mortbay.http.HttpListener |
ATTRIBUTE |
Constructor Summary | |
SslListener()
Constructor. |
|
SslListener(InetAddrPort p_address)
Constructor. |
Method Summary | |
java.lang.String |
getAlgorithm()
|
java.lang.String[] |
getCipherSuites()
|
java.lang.String |
getKeystore()
|
java.lang.String |
getKeystoreType()
|
boolean |
getNeedClientAuth()
|
java.lang.String |
getProtocol()
|
boolean |
getWantClientAuth()
|
boolean |
isConfidential(HttpConnection connection)
By default, we're confidential, given we speak SSL. |
boolean |
isIntegral(HttpConnection connection)
By default, we're integral, given we speak SSL. |
void |
setAlgorithm(java.lang.String algorithm)
|
void |
setCipherSuites(java.lang.String[] cipherSuites)
|
void |
setKeyPassword(java.lang.String password)
|
void |
setKeystore(java.lang.String keystore)
|
void |
setKeystoreType(java.lang.String keystoreType)
|
void |
setNeedClientAuth(boolean needClientAuth)
Set the value of the needClientAuth property |
void |
setPassword(java.lang.String password)
|
void |
setProtocol(java.lang.String protocol)
|
void |
setWantClientAuth(boolean wantClientAuth)
Set the value of the needClientAuth property |
Methods inherited from class org.mortbay.util.ThreadedServer |
getAcceptorThreads, getAcceptQueueSize, getHost, getInetAddress, getInetAddrPort, getLingerTimeSecs, getMaxReadTimeMs, getPort, getServerSocket, getTcpNoDelay, handle, open, setAcceptorThreads, setAcceptQueueSize, setHost, setInetAddress, setInetAddrPort, setLingerTimeSecs, setMaxReadTimeMs, setPort, setTcpNoDelay, 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 |
equals, 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 |
public static final java.lang.String DEFAULT_KEYSTORE
public static final java.lang.String PASSWORD_PROPERTY
public static final java.lang.String KEYPASSWORD_PROPERTY
Constructor Detail |
public SslListener()
public SslListener(InetAddrPort p_address)
p_address
- Method Detail |
public java.lang.String[] getCipherSuites()
public void setCipherSuites(java.lang.String[] cipherSuites)
public void setPassword(java.lang.String password)
public void setKeyPassword(java.lang.String password)
public java.lang.String getAlgorithm()
public void setAlgorithm(java.lang.String algorithm)
public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
public void setKeystore(java.lang.String keystore)
public java.lang.String getKeystore()
public java.lang.String getKeystoreType()
public void setKeystoreType(java.lang.String keystoreType)
public void setNeedClientAuth(boolean needClientAuth)
needClientAuth
- true iff we require client certificate authentication.public boolean getNeedClientAuth()
public void setWantClientAuth(boolean wantClientAuth)
wantClientAuth
- true iff we would like client certificate authentication.public boolean getWantClientAuth()
public boolean isIntegral(HttpConnection connection)
isIntegral
in interface HttpListener
isIntegral
in class SocketListener
public boolean isConfidential(HttpConnection connection)
isConfidential
in interface HttpListener
isConfidential
in class SocketListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |