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()
           
 java.lang.String getKeyStore()
           
 java.lang.String getKeyStoreAlgorithm()
           
 java.lang.String getKeyStorePassword()
           
 java.lang.String getKeyStoreType()
           
 java.lang.String getSecureRandomAlgorithm()
           
 java.lang.String getTrustStore()
           
 java.lang.String getTrustStoreAlgorithm()
           
 java.lang.String getTrustStorePassword()
           
 java.lang.String getTrustStoreType()
           
 void setKeyStore(java.lang.String keyStore)
           
 void setKeyStoreAlgorithm(java.lang.String keyAlgorithm)
           
 void setKeyStorePassword(java.lang.String keyPassword)
           
 void setKeyStoreType(java.lang.String keyType)
           
 void setSecureRandomAlgorithm(java.lang.String secureRandomAlgorithm)
           
 void setTrustStore(java.lang.String trustStore)
           
 void setTrustStoreAlgorithm(java.lang.String trustAlgorithm)
           
 void setTrustStorePassword(java.lang.String trustPassword)
           
 void setTrustStoreType(java.lang.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 java.lang.Exception
Throws:
java.lang.Exception

getTrustStoreType

public java.lang.String getTrustStoreType()

getKeyStoreType

public java.lang.String getKeyStoreType()

getKeyStore

public java.lang.String getKeyStore()

setKeyStore

public void setKeyStore(java.lang.String keyStore)
                 throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

getTrustStore

public java.lang.String getTrustStore()

setTrustStore

public void setTrustStore(java.lang.String trustStore)
                   throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

getKeyStoreAlgorithm

public java.lang.String getKeyStoreAlgorithm()

setKeyStoreAlgorithm

public void setKeyStoreAlgorithm(java.lang.String keyAlgorithm)

getTrustStoreAlgorithm

public java.lang.String getTrustStoreAlgorithm()

setTrustStoreAlgorithm

public void setTrustStoreAlgorithm(java.lang.String trustAlgorithm)

getKeyStorePassword

public java.lang.String getKeyStorePassword()

setKeyStorePassword

public void setKeyStorePassword(java.lang.String keyPassword)

getTrustStorePassword

public java.lang.String getTrustStorePassword()

setTrustStorePassword

public void setTrustStorePassword(java.lang.String trustPassword)

setKeyStoreType

public void setKeyStoreType(java.lang.String keyType)

setTrustStoreType

public void setTrustStoreType(java.lang.String trustType)

getSecureRandomAlgorithm

public java.lang.String getSecureRandomAlgorithm()

setSecureRandomAlgorithm

public void setSecureRandomAlgorithm(java.lang.String secureRandomAlgorithm)


Copyright © 2005-2012. All Rights Reserved.