public class TlsPropertiesMapper extends Object
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 and Description |
|---|
TlsPropertiesMapper(String namespace) |
| Modifier and Type | Method and Description |
|---|---|
void |
readFromProperties(TlsConfiguration configuration,
Properties properties) |
void |
writeToProperties(Properties properties,
TlsConfiguration configuration) |
public TlsPropertiesMapper(String namespace)
public void writeToProperties(Properties properties, TlsConfiguration configuration)
public void readFromProperties(TlsConfiguration configuration, Properties properties) throws IOException
IOExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.