|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.net.SSLServerSocketFactory
Socket factory for SSL sockets, using the Java Server Sockets Extension
(JSSE) reference implementation support classes. Besides the usual
configuration mechanism based on setting JavaBeans properties, this
component may also be configured by passing a series of attributes set
with calls to setAttribute()
. The following attribute
names are recognized, with default values in square brackets:
true
. [false]
Constructor Summary | |
SSLServerSocketFactory()
|
Method Summary | |
java.net.ServerSocket |
createSocket(int port)
Return a server socket that uses all network interfaces on the host, and is bound to a specified port. |
java.net.ServerSocket |
createSocket(int port,
int backlog)
Return a server socket that uses all network interfaces on the host, and is bound to a specified port, and uses the specified connection backlog. |
java.net.ServerSocket |
createSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
Return a server socket that uses the specified interface on the host, and is bound to a specified port, and uses the specified connection backlog. |
java.lang.String |
getAlgorithm()
|
boolean |
getClientAuth()
|
java.security.KeyStore |
getKeyStore()
|
java.lang.String |
getKeystoreFile()
|
java.lang.String |
getKeystoreType()
|
java.lang.String |
getProtocol()
|
void |
setAlgorithm(java.lang.String algorithm)
|
void |
setClientAuth(boolean clientAuth)
|
void |
setKeystoreFile(java.lang.String keystoreFile)
|
void |
setKeystorePass(java.lang.String keystorePass)
|
void |
setKeystoreType(java.lang.String keystoreType)
|
void |
setProtocol(java.lang.String protocol)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SSLServerSocketFactory()
Method Detail |
public java.lang.String getAlgorithm()
public void setAlgorithm(java.lang.String algorithm)
public boolean getClientAuth()
public void setClientAuth(boolean clientAuth)
public java.security.KeyStore getKeyStore() throws java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.security.UnrecoverableKeyException, java.security.KeyManagementException
java.io.IOException
java.security.KeyStoreException
java.security.NoSuchAlgorithmException
java.security.cert.CertificateException
java.security.UnrecoverableKeyException
java.security.KeyManagementException
public java.lang.String getKeystoreFile()
public void setKeystoreFile(java.lang.String keystoreFile)
public void setKeystorePass(java.lang.String keystorePass)
public java.lang.String getKeystoreType()
public void setKeystoreType(java.lang.String keystoreType)
public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
public java.net.ServerSocket createSocket(int port) throws java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.security.UnrecoverableKeyException, java.security.KeyManagementException
createSocket
in interface ServerSocketFactory
port
- Port to listen to
java.io.IOException
- input/output or network error
java.security.KeyStoreException
- error instantiating the
KeyStore from file
java.security.NoSuchAlgorithmException
- KeyStore algorithm unsupported
by current provider
java.security.cert.CertificateException
- general certificate error
java.security.UnrecoverableKeyException
- internal KeyStore problem with
the certificate
java.security.KeyManagementException
- problem in the key management
layerpublic java.net.ServerSocket createSocket(int port, int backlog) throws java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.security.UnrecoverableKeyException, java.security.KeyManagementException
createSocket
in interface ServerSocketFactory
port
- Port to listen tobacklog
- Maximum number of connections to be queued
java.io.IOException
- input/output or network error
java.security.KeyStoreException
- error instantiating the
KeyStore from file
java.security.NoSuchAlgorithmException
- KeyStore algorithm unsupported
by current provider
java.security.cert.CertificateException
- general certificate error
java.security.UnrecoverableKeyException
- internal KeyStore problem with
the certificate
java.security.KeyManagementException
- problem in the key management
layerpublic java.net.ServerSocket createSocket(int port, int backlog, java.net.InetAddress ifAddress) throws java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.security.UnrecoverableKeyException, java.security.KeyManagementException
createSocket
in interface ServerSocketFactory
port
- Port to listen tobacklog
- Maximum number of connections to be queuedifAddress
- Address of the interface to be used
java.io.IOException
- input/output or network error
java.security.KeyStoreException
- error instantiating the
KeyStore from file
java.security.NoSuchAlgorithmException
- KeyStore algorithm unsupported
by current provider
java.security.cert.CertificateException
- general certificate error
java.security.UnrecoverableKeyException
- internal KeyStore problem with
the certificate
java.security.KeyManagementException
- problem in the key management
layer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |