|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.jetty6.connector.JettyConnector org.apache.geronimo.jetty6.connector.HTTPSSocketConnector
public class HTTPSSocketConnector
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 | |
---|---|
HTTPSSocketConnector(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, getHost, getLingerMillis, getListenAddress, getMaxIdleTimeMs, getMaxThreads, getPort, getRedirectPort, isTcpNoDelay, setAcceptQueueSize, setBufferSizeBytes, setHost, setLingerMillis, setMaxIdleTimeMs, setMaxThreads, setPort, 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, getLingerMillis, getMaxThreads, getRedirectPort, isTcpNoDelay, setAcceptQueueSize, setBufferSizeBytes, 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 HTTPSSocketConnector(JettyContainer container, ThreadPool threadPool, KeystoreManager keystoreManager)
Method Detail |
---|
public int getDefaultPort()
getDefaultPort
in class JettyConnector
public String getProtocol()
NetworkConnector
getProtocol
in interface NetworkConnector
getProtocol
in class JettyConnector
public String getAlgorithm()
SecureConnector
getAlgorithm
in interface SecureConnector
public void setAlgorithm(String algorithm)
setAlgorithm
in interface SecureConnector
algorithm
- the algorithm to use, or "Default" to use the default from KeyManagerFactory.getDefaultAlgorithm()
public String getSecureProtocol()
SecureConnector
getSecureProtocol
in interface SecureConnector
public void setSecureProtocol(String protocol)
SecureConnector
setSecureProtocol
in interface SecureConnector
public void setClientAuthRequired(boolean needClientAuth)
SecureConnector
setClientAuthRequired
in interface SecureConnector
public boolean isClientAuthRequired()
SecureConnector
isClientAuthRequired
in interface SecureConnector
public void setClientAuthRequested(boolean wantClientAuth)
public boolean isClientAuthRequested()
public void setKeyStore(String keyStore)
setKeyStore
in interface JettySecureConnector
public String getKeyStore()
getKeyStore
in interface JettySecureConnector
public void setTrustStore(String trustStore)
setTrustStore
in interface JettySecureConnector
public String getTrustStore()
getTrustStore
in interface JettySecureConnector
public void setKeyAlias(String keyAlias)
setKeyAlias
in interface JettySecureConnector
public String getKeyAlias()
getKeyAlias
in interface JettySecureConnector
public void setRedirectPort(int port)
WebConnector
setRedirectPort
in interface WebConnector
setRedirectPort
in class JettyConnector
public static GBeanInfo getGBeanInfo()
public String getKeystoreFileName()
SecureConnector
getKeystoreFileName
in interface SecureConnector
public void setKeystoreFileName(String name)
SecureConnector
setKeystoreFileName
in interface SecureConnector
public void setKeystorePassword(String password)
SecureConnector
setKeystorePassword
in interface SecureConnector
public String getKeystoreType()
SecureConnector
getKeystoreType
in interface SecureConnector
public 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 |