|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.jetty6.connector.JettyConnector
org.apache.geronimo.jetty6.connector.HTTPSSelectChannelConnector
public class HTTPSSelectChannelConnector
Implementation of a HTTPS connector based on Jetty's SslConnector (which uses pure JSSE).
| Field Summary | |
|---|---|
static GBeanInfo |
GBEAN_INFO
|
| Fields inherited from class org.apache.geronimo.jetty6.connector.JettyConnector |
|---|
CONNECTOR_CONTAINER_REFERENCE, listener |
| 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 | |
|---|---|
HTTPSSelectChannelConnector(JettyContainer container,
ThreadPool threadPool,
KeystoreManager keystoreManager)
|
|
| Method Summary | |
|---|---|
String |
getAlgorithm()
Gets the certificate algorithm used to access the keystore. |
int |
getDefaultPort()
|
static GBeanInfo |
getGBeanInfo()
|
String |
getKeyAlias()
|
String |
getKeyStore()
|
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 |
getProtocol()
Gets the network protocol that this connector handles. |
String |
getSecureProtocol()
Gets the protocol used for secure communication. |
String |
getTrustStore()
|
boolean |
isClientAuthRequested()
|
boolean |
isClientAuthRequired()
Checks whether clients are required to authenticate using client certificates in order to connect using this connector. |
void |
setAlgorithm(String algorithm)
Algorithm to use. |
void |
setClientAuthRequested(boolean wantClientAuth)
|
void |
setClientAuthRequired(boolean needClientAuth)
Checks whether clients are required to authenticate using client certificates in order to connect using this connector. |
void |
setKeyAlias(String keyAlias)
|
void |
setKeyStore(String keyStore)
|
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 |
setRedirectPort(int port)
Gets the network port to which traffic will be redirected if this connector handles insecure traffic and the request requires a secure connection. |
void |
setSecureProtocol(String protocol)
Gets the protocol used for secure communication. |
void |
setTrustStore(String trustStore)
|
| Methods inherited from class org.apache.geronimo.jetty6.connector.JettyConnector |
|---|
doFail, doStart, doStop, getAcceptQueueSize, getBufferSizeBytes, getConnectUrl, getDefaultScheme, getHeaderBufferSizeBytes, getHost, getLingerMillis, getListenAddress, getMaxIdleTimeMs, getMaxThreads, getPort, getRedirectPort, getStats, isStateManageable, isStatisticsProvider, isStatsOn, isTcpNoDelay, resetStats, setAcceptQueueSize, setBufferSizeBytes, setHeaderBufferSizeBytes, setHost, setLingerMillis, setMaxIdleTimeMs, setMaxThreads, setPort, setStatsOn, setTcpNoDelay |
| 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, getHeaderBufferSizeBytes, getLingerMillis, getMaxThreads, getRedirectPort, isTcpNoDelay, setAcceptQueueSize, setBufferSizeBytes, setHeaderBufferSizeBytes, setLingerMillis, setMaxThreads, setTcpNoDelay |
| Methods inherited from interface org.apache.geronimo.management.geronimo.NetworkConnector |
|---|
getHost, getListenAddress, getPort, setHost, setPort |
| Field Detail |
|---|
public static final GBeanInfo GBEAN_INFO
| Constructor Detail |
|---|
public HTTPSSelectChannelConnector(JettyContainer container,
ThreadPool threadPool,
KeystoreManager keystoreManager)
| Method Detail |
|---|
public int getDefaultPort()
getDefaultPort in class JettyConnectorpublic String getProtocol()
NetworkConnector
getProtocol in interface NetworkConnectorgetProtocol in class JettyConnectorpublic String getAlgorithm()
SecureConnector
getAlgorithm in interface SecureConnectorpublic void setAlgorithm(String algorithm)
setAlgorithm in interface SecureConnectoralgorithm - the algorithm to use, or "Default" to use the default from KeyManagerFactory.getDefaultAlgorithm()public String getSecureProtocol()
SecureConnector
getSecureProtocol in interface SecureConnectorpublic void setSecureProtocol(String protocol)
SecureConnector
setSecureProtocol in interface SecureConnectorpublic void setClientAuthRequired(boolean needClientAuth)
SecureConnector
setClientAuthRequired in interface SecureConnectorpublic boolean isClientAuthRequired()
SecureConnector
isClientAuthRequired in interface SecureConnectorpublic void setClientAuthRequested(boolean wantClientAuth)
public boolean isClientAuthRequested()
public void setKeyStore(String keyStore)
setKeyStore in interface JettySecureConnectorpublic String getKeyStore()
getKeyStore in interface JettySecureConnectorpublic void setTrustStore(String trustStore)
setTrustStore in interface JettySecureConnectorpublic String getTrustStore()
getTrustStore in interface JettySecureConnectorpublic void setKeyAlias(String keyAlias)
setKeyAlias in interface JettySecureConnectorpublic String getKeyAlias()
getKeyAlias in interface JettySecureConnectorpublic void setRedirectPort(int port)
WebConnector
setRedirectPort in interface WebConnectorsetRedirectPort in class JettyConnectorpublic static GBeanInfo getGBeanInfo()
public String getKeystoreFileName()
SecureConnector
getKeystoreFileName in interface SecureConnectorpublic void setKeystoreFileName(String name)
SecureConnector
setKeystoreFileName in interface SecureConnectorpublic void setKeystorePassword(String password)
SecureConnector
setKeystorePassword in interface SecureConnectorpublic String getKeystoreType()
SecureConnector
getKeystoreType in interface SecureConnectorpublic void setKeystoreType(String type)
SecureConnector
setKeystoreType in interface SecureConnector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||