org.apache.geronimo.jetty.connector
Class HTTPSConnector
java.lang.Object
org.apache.geronimo.jetty.connector.JettyConnector
org.apache.geronimo.jetty.connector.HTTPSConnector
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle, JettySecureConnector, JettyWebConnector, org.apache.geronimo.management.geronimo.NetworkConnector, org.apache.geronimo.management.geronimo.SecureConnector, org.apache.geronimo.management.geronimo.WebConnector
public class HTTPSConnector
- extends JettyConnector
- implements JettySecureConnector
Implementation of a HTTPS connector based on Jetty's SslConnector (which uses pure JSSE).
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
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 |
Methods inherited from class org.apache.geronimo.jetty.connector.JettyConnector |
doFail, doStart, doStop, getAcceptQueueSize, getBufferSizeBytes, getConnectUrl, getDefaultScheme, getHost, getIdlethreads, getLingerMillis, getListenAddress, getLowThreads, getLowThreadsMaxIdleTimeMs, getMaxIdleTimeMs, getMaxThreads, getMinThreads, getPort, getRedirectPort, getThreads, isTcpNoDelay, setAcceptQueueSize, setBufferSizeBytes, setHost, setLingerMillis, setLowThreads, setLowThreadsMaxIdleTimeMs, setMaxIdleTimeMs, setMaxThreads, setMinThreads, setPort, setRedirectPort, 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, setRedirectPort, setTcpNoDelay |
Methods inherited from interface org.apache.geronimo.management.geronimo.NetworkConnector |
getHost, getListenAddress, getPort, setHost, setPort |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
HTTPSConnector
public HTTPSConnector(JettyContainer container,
org.apache.geronimo.management.geronimo.KeystoreManager keystoreManager)
getDefaultPort
public int getDefaultPort()
- Specified by:
getDefaultPort
in class JettyConnector
getProtocol
public String getProtocol()
- Specified by:
getProtocol
in interface org.apache.geronimo.management.geronimo.NetworkConnector
- Specified by:
getProtocol
in class JettyConnector
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interface org.apache.geronimo.management.geronimo.SecureConnector
setAlgorithm
public void setAlgorithm(String algorithm)
- Algorithm to use.
As different JVMs have different implementations available, the default algorithm can be used by supplying the value "Default".
- Specified by:
setAlgorithm
in interface org.apache.geronimo.management.geronimo.SecureConnector
- Parameters:
algorithm
- the algorithm to use, or "Default" to use the default from KeyManagerFactory.getDefaultAlgorithm()
getSecureProtocol
public String getSecureProtocol()
- Specified by:
getSecureProtocol
in interface org.apache.geronimo.management.geronimo.SecureConnector
setSecureProtocol
public void setSecureProtocol(String protocol)
- Specified by:
setSecureProtocol
in interface org.apache.geronimo.management.geronimo.SecureConnector
setClientAuthRequired
public void setClientAuthRequired(boolean needClientAuth)
- Specified by:
setClientAuthRequired
in interface org.apache.geronimo.management.geronimo.SecureConnector
isClientAuthRequired
public boolean isClientAuthRequired()
- Specified by:
isClientAuthRequired
in interface org.apache.geronimo.management.geronimo.SecureConnector
setClientAuthRequested
public void setClientAuthRequested(boolean wantClientAuth)
isClientAuthRequested
public boolean isClientAuthRequested()
setKeyStore
public void setKeyStore(String keyStore)
- Specified by:
setKeyStore
in interface JettySecureConnector
getKeyStore
public String getKeyStore()
setTrustStore
public void setTrustStore(String trustStore)
- Specified by:
setTrustStore
in interface JettySecureConnector
getTrustStore
public String getTrustStore()
setKeyAlias
public void setKeyAlias(String keyAlias)
- Specified by:
setKeyAlias
in interface JettySecureConnector
getKeyAlias
public String getKeyAlias()
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
getKeystoreFileName
public String getKeystoreFileName()
- Specified by:
getKeystoreFileName
in interface org.apache.geronimo.management.geronimo.SecureConnector
setKeystoreFileName
public void setKeystoreFileName(String name)
- Specified by:
setKeystoreFileName
in interface org.apache.geronimo.management.geronimo.SecureConnector
setKeystorePassword
public void setKeystorePassword(String password)
- Specified by:
setKeystorePassword
in interface org.apache.geronimo.management.geronimo.SecureConnector
getKeystoreType
public String getKeystoreType()
- Specified by:
getKeystoreType
in interface org.apache.geronimo.management.geronimo.SecureConnector
setKeystoreType
public void setKeystoreType(String type)
- Specified by:
setKeystoreType
in interface org.apache.geronimo.management.geronimo.SecureConnector
Copyright © 2006 Apache Software Foundation. All Rights Reserved.