org.mule.api.security.tls
Class TlsPropertiesMapper

java.lang.Object
  extended by org.mule.api.security.tls.TlsPropertiesMapper

public class TlsPropertiesMapper
extends Object

Move a TlsConfiguration to and from Properties (typically System Properties). This can be used to store TLS/SSL configuration for a library (eg. Javamail, which reads java.mail properties) or for later retrieval by TlsPropertiesSocketFactory.


Constructor Summary
TlsPropertiesMapper(String namespace)
           
 
Method Summary
 void readFromProperties(TlsConfiguration configuration, Properties properties)
           
 void writeToProperties(Properties properties, TlsConfiguration configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TlsPropertiesMapper

public TlsPropertiesMapper(String namespace)
Method Detail

writeToProperties

public void writeToProperties(Properties properties,
                              TlsConfiguration configuration)

readFromProperties

public void readFromProperties(TlsConfiguration configuration,
                               Properties properties)
                        throws IOException
Throws:
IOException


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.