|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.tomcat.BaseGBean
org.apache.geronimo.tomcat.ConnectorGBean
org.apache.geronimo.tomcat.HttpsConnectorGBean
public class HttpsConnectorGBean
A wrapper around a connector for the HTTPS protocol for Tomcat. The functionality is not different than the standard ConnectorGBean, but there's an additional set of HTTPS attributes exposed.
| Field Summary | |
|---|---|
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
| Fields inherited from class org.apache.geronimo.tomcat.ConnectorGBean |
|---|
connector, CONNECTOR_CONTAINER_REFERENCE |
| Fields inherited from interface org.apache.geronimo.management.geronimo.SecureConnector |
|---|
ALGORITHM_TYPE_IBM, ALGORITHM_TYPE_SUN, KEYSTORE_TYPE_JKS, KEYSTORE_TYPE_PKCS12, SECURE_PROTOCOL_TYPE_SSL, SECURE_PROTOCOL_TYPE_TLS |
| Constructor Summary | |
|---|---|
HttpsConnectorGBean(String name,
String protocol,
String host,
int port,
TomcatContainer container,
org.apache.geronimo.system.serverinfo.ServerInfo serverInfo)
|
|
| Method Summary | |
|---|---|
String |
getAlgorithm()
Gets the certificate algorithm used to access the keystore. |
String |
getCiphers()
Gets a comma seperated list of the encryption ciphers that may be used. |
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
String |
getKeystoreFileName()
Gets the name of the keystore file that holds the server certificate (and by default, the trusted CA certificates used for client certificate authentication). |
String |
getKeystoreType()
Gets the format of the entries in the keystore. |
String |
getSecureProtocol()
Gets the protocol used for secure communication. |
String |
getTruststoreFileName()
Gets the name of the keystore file that holds the trusted CA certificates used for client certificate authentication. |
String |
getTruststoreType()
Gets the format of the entries in the keystore. |
protected void |
initializeParams(String protocol,
Map params)
Adds any special parameters before constructing the connector. |
boolean |
isClientAuthRequired()
Checks whether clients are required to authenticate using client certificates in order to connect using this connector. |
void |
setAlgorithm(String algorithm)
Sets the certificate algorithm used to access the keystore. |
void |
setCiphers(String ciphers)
Sets a comma seperated list of the encryption ciphers that may be used. |
void |
setClientAuthRequired(boolean clientCert)
Checks whether clients are required to authenticate using client certificates in order to connect using this connector. |
void |
setKeystoreFileName(String name)
Sets the name of the keystore file that holds the server certificate (and by default, the trusted CA certificates used for client certificate authentication). |
void |
setKeystorePassword(String password)
Sets the password used to access the keystore, and by default, used to access the server private key inside the keystore. |
void |
setKeystoreType(String type)
Sets the format of the entries in the keystore. |
void |
setSecureProtocol(String protocol)
Gets the protocol used for secure communication. |
void |
setTruststoreFileName(String name)
Sets the name of the keystore file that holds the trusted CA certificates used for client certificate authentication. |
void |
setTruststorePassword(String password)
Sets the password used to verify integrity of truststore. |
void |
setTruststoreType(String type)
Sets the format of the entries in the keystore. |
protected void |
validateProtocol(String protocol)
Ensures that this implementation can handle the requested protocol. |
| Methods inherited from class org.apache.geronimo.tomcat.BaseGBean |
|---|
setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.geronimo.management.geronimo.WebConnector |
|---|
getAcceptQueueSize, getBufferSizeBytes, getConnectUrl, getLingerMillis, getMaxThreads, getRedirectPort, isTcpNoDelay, setAcceptQueueSize, setBufferSizeBytes, setLingerMillis, setMaxThreads, setRedirectPort, setTcpNoDelay |
| Methods inherited from interface org.apache.geronimo.management.geronimo.NetworkConnector |
|---|
getHost, getListenAddress, getPort, getProtocol, setHost, setPort |
| Field Detail |
|---|
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
| Constructor Detail |
|---|
public HttpsConnectorGBean(String name,
String protocol,
String host,
int port,
TomcatContainer container,
org.apache.geronimo.system.serverinfo.ServerInfo serverInfo)
throws Exception
Exception| Method Detail |
|---|
protected void initializeParams(String protocol,
Map params)
initializeParams in class ConnectorGBeanprotocol - Should be one of the constants from WebContainer.params - The map of parameters that will be used to initialize the connector.protected void validateProtocol(String protocol)
validateProtocol in class ConnectorGBeanprotocol - public String getKeystoreFileName()
getKeystoreFileName in interface org.apache.geronimo.management.geronimo.SecureConnectorpublic void setKeystoreFileName(String name)
setKeystoreFileName in interface org.apache.geronimo.management.geronimo.SecureConnectorpublic String getTruststoreFileName()
TomcatSecureConnector
getTruststoreFileName in interface TomcatSecureConnectorpublic void setTruststoreFileName(String name)
TomcatSecureConnector
setTruststoreFileName in interface TomcatSecureConnectorpublic void setKeystorePassword(String password)
setKeystorePassword in interface org.apache.geronimo.management.geronimo.SecureConnectorpublic void setTruststorePassword(String password)
TomcatSecureConnector
setTruststorePassword in interface TomcatSecureConnectorpublic String getKeystoreType()
getKeystoreType in interface org.apache.geronimo.management.geronimo.SecureConnectorpublic void setKeystoreType(String type)
setKeystoreType in interface org.apache.geronimo.management.geronimo.SecureConnectorpublic String getTruststoreType()
TomcatSecureConnector
getTruststoreType in interface TomcatSecureConnectorpublic void setTruststoreType(String type)
TomcatSecureConnector
setTruststoreType in interface TomcatSecureConnectorpublic String getAlgorithm()
getAlgorithm in interface org.apache.geronimo.management.geronimo.SecureConnectorpublic void setAlgorithm(String algorithm)
setAlgorithm in interface org.apache.geronimo.management.geronimo.SecureConnectorpublic String getSecureProtocol()
getSecureProtocol in interface org.apache.geronimo.management.geronimo.SecureConnectorpublic void setSecureProtocol(String protocol)
setSecureProtocol in interface org.apache.geronimo.management.geronimo.SecureConnectorpublic boolean isClientAuthRequired()
isClientAuthRequired in interface org.apache.geronimo.management.geronimo.SecureConnectorpublic void setClientAuthRequired(boolean clientCert)
setClientAuthRequired in interface org.apache.geronimo.management.geronimo.SecureConnectorpublic String getCiphers()
getCiphers in interface TomcatSecureConnectorpublic void setCiphers(String ciphers)
setCiphers in interface TomcatSecureConnectorpublic static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||