|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.trustmanager.tomcat.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()
The constructor. |
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()
Returns the keymanager algorithm. |
java.lang.String |
getCaFiles()
Returns the file definition for the certificate authority (CA) files. |
boolean |
getClientAuth()
Returns true if the client authentication is required. |
java.lang.String |
getCredentialsUpdateInterval()
Returns the update interval. |
java.lang.String |
getCrlFiles()
Used to get the certificate revocation list (CRL) file definition. |
java.lang.String |
getGridProxyFile()
Returns the filename for the gridproxy file. |
java.lang.String |
getHostCert()
Returns the host (server) certificate file name. |
java.lang.String |
getHostKey()
Returns the filename for the host private key. |
java.lang.String |
getHostKeyPass()
Returns the filename for the host private key. |
java.lang.String |
getKeystoreFile()
Used to get name of the file containing the server KeyStore. |
java.lang.String |
getKeystorePass()
Used to get the password for the server KeyStore. |
java.lang.String |
getKeystoreType()
Returns the server KeyStore type. |
java.lang.String |
getLog4jConfFile()
Returns the filename for the configuration file for the log4j logging. |
java.lang.String |
getLogConf()
Returns the filename for the configuration file for the log4j logging. |
java.lang.String |
getLogConfFile()
Returns the filename for the configuration file for the log4j logging. |
java.lang.String |
getLogFile()
Returns the filename for the SSL authentication log messages. |
java.lang.String |
getProtocol()
Returns the protocol to use. |
java.lang.String |
getSslConfigFile()
Returns the filename for the configuration file for the log4j logging. |
java.lang.String |
getTrustStore()
Returns the filename for the KeyStore that holds the certificate authority (CA) certificates. |
java.lang.String |
getTrustStorePass()
Returns the password needed to access the KeyStore which has all the CA certs. |
java.lang.String |
getTrustStoreType()
Returns the type of the KeyStore that holds all the CA certs. |
void |
setAlgorithm(java.lang.String algorithm)
Sets the KeyManager algorithm. |
void |
setCaFiles(java.lang.String CAFiles)
Used to set the file definition for the CA files. |
void |
setClientAuth(boolean clientAuth)
Used to choose if the client authentication is on or off. |
void |
setCredentialsUpdateInterval(java.lang.String credentialsUpdateInterval)
Used to set the update interval. |
void |
setCrlFiles(java.lang.String CRLFiles)
Used to set the file definitions for the CRL files. |
void |
setGridProxyFile(java.lang.String gridProxyFile)
Used to set the filename for the gridproxy file. |
void |
setHostCert(java.lang.String hostCert)
Used to set the filename for the host certificate. |
void |
setHostKey(java.lang.String hostKey)
Used to set the filename fot the host private key. |
void |
setHostKeyPass(java.lang.String hostKeyPass)
Used to set the filename fot the host private key. |
void |
setKeystoreFile(java.lang.String keystoreFile)
Used to set the filename for the server KeyStore. |
void |
setKeystorePass(java.lang.String keystorePass)
Used to set the password to use when reading the server KeyStore. |
void |
setKeystoreType(java.lang.String keystoreType)
Used to set the type for the server KeyStore. |
void |
setLog4jConfFile(java.lang.String logConf)
Used to set the filename for the logging configuration for the authentication logs. |
void |
setLogConf(java.lang.String logConf)
Used to set the filename for the logging configuration for the authentication logs. |
void |
setLogConfFile(java.lang.String logConf)
Used to set the filename for the logging configuration for the authentication logs. |
void |
setLogFile(java.lang.String inLogFile)
Used to set the log filename for the authentication log. |
void |
setProtocol(java.lang.String protocol)
Sets the SSL protocol to use. |
void |
setSslConfigFile(java.lang.String confFile)
Used to set the filename for the logging configuration for the authentication logs. |
void |
setTrustStore(java.lang.String trustStore)
Used to set the filename for the KeyStore that holds all the CA certs. |
void |
setTrustStorePass(java.lang.String trustStorePass)
Used to set the password required to access the KeyStore which has all the CA certs. |
void |
setTrustStoreType(java.lang.String trustStoreType)
Used to set the type of the KeyStore holding all the CA certs. |
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)
algorithm
- The KeyManager algorithm.public boolean getClientAuth()
public void setClientAuth(boolean clientAuth)
clientAuth
- True if the client authentication is required.public java.lang.String getKeystoreFile()
public void setKeystoreFile(java.lang.String keystoreFile)
keystoreFile
- The filename of the server KeyStore.public java.lang.String getKeystorePass()
public void setKeystorePass(java.lang.String keystorePass)
keystorePass
- The password to use when reading the server KeyStore.public java.lang.String getKeystoreType()
public void setKeystoreType(java.lang.String keystoreType)
keystoreType
- The server KeyStore type.public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
protocol
- The SSL protocol to use.public java.lang.String getHostCert()
public void setHostCert(java.lang.String hostCert)
hostCert
- The filename for the host certificate.public java.lang.String getHostKey()
public void setHostKey(java.lang.String hostKey)
hostKey
- The filename for the host private key.public java.lang.String getHostKeyPass()
public void setHostKeyPass(java.lang.String hostKeyPass)
public java.lang.String getGridProxyFile()
public void setGridProxyFile(java.lang.String gridProxyFile)
gridProxyFile
- The filename for the gridproxy file.public java.lang.String getCredentialsUpdateInterval()
public void setCredentialsUpdateInterval(java.lang.String credentialsUpdateInterval)
credentialsUpdateInterval
- The interval.public java.lang.String getCaFiles()
public void setCaFiles(java.lang.String CAFiles)
CAFiles
- The CA file definition.public java.lang.String getCrlFiles()
public void setCrlFiles(java.lang.String CRLFiles)
CRLFiles
- The file definition for the CRL files.public java.lang.String getTrustStore()
public void setTrustStore(java.lang.String trustStore)
trustStore
- The KeyStore filename.public java.lang.String getTrustStoreType()
public void setTrustStoreType(java.lang.String trustStoreType)
trustStoreType
- The KeyStore type.public java.lang.String getTrustStorePass()
public void setTrustStorePass(java.lang.String trustStorePass)
trustStorePass
- Returns the password.public java.lang.String getLogFile()
public void setLogFile(java.lang.String inLogFile)
public java.lang.String getLogConf()
public void setLogConf(java.lang.String logConf)
logConf
- The filename for configuration file.public java.lang.String getLogConfFile()
public void setLogConfFile(java.lang.String logConf)
logConf
- The filename for configuration file.public java.lang.String getLog4jConfFile()
public void setLog4jConfFile(java.lang.String logConf)
logConf
- The filename for configuration file.public java.lang.String getSslConfigFile()
public void setSslConfigFile(java.lang.String confFile)
public java.net.ServerSocket createSocket(int port) throws java.io.IOException
createSocket
in interface org.apache.catalina.net.ServerSocketFactory
port
- Port to listen to
java.io.IOException
- if an input/output or network error occurspublic java.net.ServerSocket createSocket(int port, int backlog) throws java.io.IOException
createSocket
in interface org.apache.catalina.net.ServerSocketFactory
port
- Port to listen tobacklog
- Maximum number of connections to be queued
java.io.IOException
- if an input/output or network error occurspublic java.net.ServerSocket createSocket(int port, int backlog, java.net.InetAddress ifAddress) throws java.io.IOException
createSocket
in interface org.apache.catalina.net.ServerSocketFactory
port
- Port to listen tobacklog
- Maximum number of connections to be queuedifAddress
- Address of the interface to be used
java.io.IOException
- if an input/output or network error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |