org.apache.activemq.spring
Class SpringSslContext

java.lang.Object
  extended by org.apache.activemq.broker.SslContext
      extended by 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
SpringSslContext()
           
 
Method Summary
 void afterPropertiesSet()
           
 String getKeyStore()
           
 String getKeyStoreAlgorithm()
           
 String getKeyStoreKeyPassword()
           
 String getKeyStorePassword()
           
 String getKeyStoreType()
           
 String getSecureRandomAlgorithm()
           
 String getTrustStore()
           
 String getTrustStoreAlgorithm()
           
 String getTrustStorePassword()
           
 String getTrustStoreType()
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringSslContext

public SpringSslContext()
Method Detail

afterPropertiesSet

@PostConstruct
public void afterPropertiesSet()
                        throws Exception
Throws:
Exception

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)


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.