|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.coyote.tomcat5.CoyoteServerSocketFactory
This socket factory holds secure socket factory parameters. 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 | |
CoyoteServerSocketFactory()
|
|
| Method Summary | |
java.net.ServerSocket |
createSocket(int port)
Returns a server socket which uses all network interfaces on the host, and is bound to a the specified port. |
java.net.ServerSocket |
createSocket(int port,
int backlog)
Returns a server socket which uses all network interfaces on the host, is bound to a the specified port, and uses the specified connection backlog. |
java.net.ServerSocket |
createSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
Returns a server socket which uses only the specified network interface on the local host, is bound to a the specified port, and uses the specified connection backlog. |
java.lang.String |
getAlgorithm()
Gets the certificate encoding algorithm to be used. |
java.lang.String |
getCiphers()
Gets the list of SSL cipher suites that are to be enabled |
java.lang.String |
getClientAuth()
Provides information about whether client authentication is enforced. |
java.lang.String |
getKeyAlias()
Gets the alias name of the keypair and supporting certificate chain used by the server to authenticate itself to SSL clients. |
java.lang.String |
getKeystoreFile()
Gets the pathname to the keystore file. |
java.lang.String |
getKeystorePass()
Gets the keystore password. |
java.lang.String |
getKeystoreType()
Gets the keystore type. |
java.lang.String |
getProtocol()
Gets the SSL protocol variant to be used. |
java.lang.String |
getProtocols()
Gets the SSL protocol variants to be enabled. |
java.lang.String |
getRandomFile()
Gets the pathname to the random file. |
java.lang.String |
getRootFile()
Gets the pathname to the root list. |
java.lang.String |
getSSLImplementation()
Gets the name of the SSL implementation to be used. |
void |
setAlgorithm(java.lang.String algorithm)
Sets the certificate encoding algorithm to be used. |
void |
setCiphers(java.lang.String ciphers)
Sets the SSL cipher suites that are to be enabled. |
void |
setClientAuth(java.lang.String clientAuth)
Sets the requirement of client authentication. |
void |
setKeyAlias(java.lang.String alias)
Sets the alias name of the keypair and supporting certificate chain used by the server to authenticate itself to SSL clients. |
void |
setKeystoreFile(java.lang.String keystoreFile)
Sets the pathname to the keystore file. |
void |
setKeystorePass(java.lang.String keystorePass)
Sets the keystore password. |
void |
setKeystoreType(java.lang.String keystoreType)
Sets the keystore type. |
void |
setProtocol(java.lang.String protocol)
Sets the SSL protocol variant to be used. |
void |
setProtocols(java.lang.String protocols)
Sets the SSL protocol variants to be enabled. |
void |
setRandomFile(java.lang.String randomFile)
Sets the pathname to the random file. |
void |
setRootFile(java.lang.String rootFile)
Sets the pathname to the root list. |
void |
setSSLImplementation(java.lang.String sslImplementation)
Sets the name of the SSL implementation to be used. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CoyoteServerSocketFactory()
| Method Detail |
public java.lang.String getAlgorithm()
public void setAlgorithm(java.lang.String algorithm)
algorithm - Certificate encoding algorithmpublic java.lang.String getClientAuth()
true if client authentication is enforced,
want if client authentication is desired,
false otherwisepublic void setClientAuth(java.lang.String clientAuth)
clientAuth - true if client authentication is enforced,
want if client authentication is desired,
false
otherwisepublic java.lang.String getKeystoreFile()
public void setKeystoreFile(java.lang.String keystoreFile)
keystoreFile - Pathname to the keystore filepublic java.lang.String getRandomFile()
public void setRandomFile(java.lang.String randomFile)
randomFile - Pathname to the random filepublic java.lang.String getRootFile()
public void setRootFile(java.lang.String rootFile)
rootFile - Pathname to the root listpublic java.lang.String getKeystorePass()
public void setKeystorePass(java.lang.String keystorePass)
keystorePass - Keystore passwordpublic java.lang.String getKeystoreType()
public void setKeystoreType(java.lang.String keystoreType)
keystoreType - Keystore typepublic java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
protocol - SSL protocol variantpublic java.lang.String getProtocols()
public void setProtocols(java.lang.String protocols)
protocols - Comma-separated list of SSL protocol variantspublic java.lang.String getSSLImplementation()
public void setSSLImplementation(java.lang.String sslImplementation)
sslImplementation - SSL implementation namepublic java.lang.String getKeyAlias()
public void setKeyAlias(java.lang.String alias)
alias - The alias name of the keypair and supporting certificate
chainpublic java.lang.String getCiphers()
public void setCiphers(java.lang.String ciphers)
ciphers - Comma-separated list of SSL cipher suitespublic java.net.ServerSocket createSocket(int port)
ServerSocketFactory
createSocket in interface ServerSocketFactoryport - the port to listen to
public java.net.ServerSocket createSocket(int port,
int backlog)
ServerSocketFactory
createSocket in interface ServerSocketFactoryport - the port to listen tobacklog - how many connections are queued
public java.net.ServerSocket createSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
ServerSocketFactory
createSocket in interface ServerSocketFactoryport - the port to listen tobacklog - how many connections are queuedifAddress - the network interface address to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||