Package org.apache.activemq.spring
Class SpringSslContext
- java.lang.Object
-
- org.apache.activemq.broker.SslContext
-
- org.apache.activemq.spring.SpringSslContext
-
public class SpringSslContext extends SslContext
Extends the SslContext so that it's easier to configure from spring.
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.broker.SslContext
keyManagers, protocol, provider, secureRandom, trustManagers
-
-
Constructor Summary
Constructors Constructor Description SpringSslContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()StringgetCrlPath()StringgetKeyStore()StringgetKeyStoreAlgorithm()StringgetKeyStoreKeyPassword()StringgetKeyStorePassword()StringgetKeyStoreType()StringgetSecureRandomAlgorithm()StringgetTrustStore()StringgetTrustStoreAlgorithm()StringgetTrustStorePassword()StringgetTrustStoreType()voidsetCrlPath(String crlPath)voidsetKeyStore(String keyStore)voidsetKeyStoreAlgorithm(String keyAlgorithm)voidsetKeyStoreKeyPassword(String keyPassword)voidsetKeyStorePassword(String keyPassword)voidsetKeyStoreType(String keyType)voidsetSecureRandomAlgorithm(String secureRandomAlgorithm)voidsetTrustStore(String trustStore)voidsetTrustStoreAlgorithm(String trustAlgorithm)voidsetTrustStorePassword(String trustPassword)voidsetTrustStoreType(String trustType)-
Methods inherited from class org.apache.activemq.broker.SslContext
addKeyManager, addTrustManager, getCurrentSslContext, getKeyManagers, getKeyManagersAsArray, getProtocol, getProvider, getSecureRandom, getSSLContext, getTrustManagers, getTrustManagersAsArray, removeKeyManager, removeTrustManager, setCurrentSslContext, setKeyManagers, setProtocol, setProvider, setSecureRandom, setSSLContext, setTrustManagers
-
-
-
-
Method Detail
-
getTrustStoreType
public String getTrustStoreType()
-
getKeyStoreType
public String getKeyStoreType()
-
getKeyStore
public String getKeyStore()
-
setKeyStore
public void setKeyStore(String keyStore) throws MalformedURLException
- Throws:
MalformedURLException
-
getTrustStore
public String getTrustStore()
-
setTrustStore
public void setTrustStore(String trustStore) throws MalformedURLException
- Throws:
MalformedURLException
-
getKeyStoreAlgorithm
public String getKeyStoreAlgorithm()
-
setKeyStoreAlgorithm
public void setKeyStoreAlgorithm(String keyAlgorithm)
-
getTrustStoreAlgorithm
public String getTrustStoreAlgorithm()
-
setTrustStoreAlgorithm
public void setTrustStoreAlgorithm(String trustAlgorithm)
-
getKeyStoreKeyPassword
public String getKeyStoreKeyPassword()
-
setKeyStoreKeyPassword
public void setKeyStoreKeyPassword(String keyPassword)
-
getKeyStorePassword
public String getKeyStorePassword()
-
setKeyStorePassword
public void setKeyStorePassword(String keyPassword)
-
getTrustStorePassword
public String getTrustStorePassword()
-
setTrustStorePassword
public void setTrustStorePassword(String trustPassword)
-
setKeyStoreType
public void setKeyStoreType(String keyType)
-
setTrustStoreType
public void setTrustStoreType(String trustType)
-
getSecureRandomAlgorithm
public String getSecureRandomAlgorithm()
-
setSecureRandomAlgorithm
public void setSecureRandomAlgorithm(String secureRandomAlgorithm)
-
getCrlPath
public String getCrlPath()
-
setCrlPath
public void setCrlPath(String crlPath)
-
-