Package org.apache.activemq.transport
Class SecureSocketConnectorFactory
- java.lang.Object
-
- org.apache.activemq.transport.SocketConnectorFactory
-
- org.apache.activemq.transport.SecureSocketConnectorFactory
-
public class SecureSocketConnectorFactory extends SocketConnectorFactory
-
-
Constructor Summary
Constructors Constructor Description SecureSocketConnectorFactory()
SecureSocketConnectorFactory(SslContext context)
SecureSocketConnectorFactory(org.eclipse.jetty.util.ssl.SslContextFactory.Server contextFactory)
-
Method Summary
-
Methods inherited from class org.apache.activemq.transport.SocketConnectorFactory
getTransportOptions, setTransportOptions
-
-
-
-
Constructor Detail
-
SecureSocketConnectorFactory
public SecureSocketConnectorFactory()
-
SecureSocketConnectorFactory
public SecureSocketConnectorFactory(SslContext context)
-
SecureSocketConnectorFactory
public SecureSocketConnectorFactory(org.eclipse.jetty.util.ssl.SslContextFactory.Server contextFactory)
-
-
Method Detail
-
createConnector
public org.eclipse.jetty.server.Connector createConnector(org.eclipse.jetty.server.Server server) throws Exception
- Overrides:
createConnector
in classSocketConnectorFactory
- Throws:
Exception
-
getKeyStore
public String getKeyStore()
-
setKeyStore
public void setKeyStore(String keyStore)
-
getKeyPassword
public String getKeyPassword()
-
setKeyPassword
public void setKeyPassword(String keyPassword)
-
getKeyStoreType
public String getKeyStoreType()
-
setKeyStoreType
public void setKeyStoreType(String keyStoreType)
-
getKeyStorePassword
public String getKeyStorePassword()
-
setKeyStorePassword
public void setKeyStorePassword(String keyStorePassword)
-
getProtocol
public String getProtocol()
-
setProtocol
public void setProtocol(String protocol)
-
getSecureRandomCertficateAlgorithm
public String getSecureRandomCertficateAlgorithm()
-
setSecureRandomCertficateAlgorithm
public void setSecureRandomCertficateAlgorithm(String secureRandomCertficateAlgorithm)
-
getKeyCertificateAlgorithm
public String getKeyCertificateAlgorithm()
-
setKeyCertificateAlgorithm
public void setKeyCertificateAlgorithm(String keyCertificateAlgorithm)
-
getTrustCertificateAlgorithm
public String getTrustCertificateAlgorithm()
-
setTrustCertificateAlgorithm
public void setTrustCertificateAlgorithm(String trustCertificateAlgorithm)
-
getAuth
public String getAuth()
- Returns:
- the auth
-
setAuth
public void setAuth(String auth)
- Parameters:
auth
- the auth to set
-
isWantClientAuth
public boolean isWantClientAuth()
-
setWantClientAuth
public void setWantClientAuth(boolean wantClientAuth)
-
isNeedClientAuth
public boolean isNeedClientAuth()
-
setNeedClientAuth
public void setNeedClientAuth(boolean needClientAuth)
-
getTrustStore
public String getTrustStore()
-
setTrustStore
public void setTrustStore(String trustStore)
-
getTrustStorePassword
public String getTrustStorePassword()
-
setTrustStorePassword
public void setTrustStorePassword(String trustStorePassword)
-
-