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 void
afterPropertiesSet()
String
getCrlPath()
String
getKeyStore()
String
getKeyStoreAlgorithm()
String
getKeyStoreKeyPassword()
String
getKeyStorePassword()
String
getKeyStoreType()
String
getSecureRandomAlgorithm()
String
getTrustStore()
String
getTrustStoreAlgorithm()
String
getTrustStorePassword()
String
getTrustStoreType()
void
setCrlPath(String crlPath)
void
setKeyStore(String keyStore)
void
setKeyStoreAlgorithm(String keyAlgorithm)
void
setKeyStoreKeyPassword(String keyPassword)
void
setKeyStorePassword(String keyPassword)
void
setKeyStoreType(String keyType)
void
setSecureRandomAlgorithm(String secureRandomAlgorithm)
void
setTrustStore(String trustStore)
void
setTrustStoreAlgorithm(String trustAlgorithm)
void
setTrustStorePassword(String trustPassword)
void
setTrustStoreType(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)
-
-