org.apache.coyote.tomcat4
Class CoyoteServerSocketFactory
java.lang.Object
org.apache.coyote.tomcat4.CoyoteServerSocketFactory
- public class CoyoteServerSocketFactory
- extends java.lang.Object
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:
- algorithm - Certificate encoding algorithm
to use. [SunX509]
- clientAuth - Require client authentication if
set to
true
. Want client authentication if set to
want
. (Note: Only supported in the JSSE included with
J2SDK 1.4 and above. Prior versions of JSSE and PureTLS will treat
'want' as 'false'.) [false]
- keystoreFile - Pathname to the Key Store file to be
loaded. This must be an absolute path, or a relative path that
is resolved against the "catalina.base" system property.
["./keystore" in the user home directory]
- keystorePass - Password for the Key Store file to be
loaded. ["changeit"]
- keystoreType - Type of the Key Store file to be
loaded. ["JKS"]
- protocol - SSL protocol to use. [TLS]
- Author:
- Harish Prabandham, Costin Manolache, Craig McClanahan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoyoteServerSocketFactory
public CoyoteServerSocketFactory()
getAlgorithm
public java.lang.String getAlgorithm()
setAlgorithm
public void setAlgorithm(java.lang.String algorithm)
getClientAuth
public java.lang.String getClientAuth()
setClientAuth
public void setClientAuth(java.lang.String clientAuth)
getKeystoreFile
public java.lang.String getKeystoreFile()
setKeystoreFile
public void setKeystoreFile(java.lang.String keystoreFile)
getRandomFile
public java.lang.String getRandomFile()
setRandomFile
public void setRandomFile(java.lang.String randomFile)
getRootFile
public java.lang.String getRootFile()
setRootFile
public void setRootFile(java.lang.String rootFile)
getKeystorePass
public java.lang.String getKeystorePass()
setKeystorePass
public void setKeystorePass(java.lang.String keystorePass)
getKeystoreType
public java.lang.String getKeystoreType()
setKeystoreType
public void setKeystoreType(java.lang.String keystoreType)
getProtocol
public java.lang.String getProtocol()
setProtocol
public void setProtocol(java.lang.String protocol)
getSSLImplementation
public java.lang.String getSSLImplementation()
setSSLImplementation
public void setSSLImplementation(java.lang.String sslImplementation)
createSocket
public java.net.ServerSocket createSocket(int port)
createSocket
public java.net.ServerSocket createSocket(int port,
int backlog)
createSocket
public java.net.ServerSocket createSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
Copyright ? 2003 Apache Software Foundation. All Rights Reserved.