org.mule.api.security.tls
Class TlsPropertiesMapper
java.lang.Object
org.mule.api.security.tls.TlsPropertiesMapper
public class TlsPropertiesMapper
- extends java.lang.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
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TlsPropertiesMapper
public TlsPropertiesMapper(java.lang.String namespace)
writeToProperties
public void writeToProperties(java.util.Properties properties,
TlsConfiguration configuration)
readFromProperties
public void readFromProperties(TlsConfiguration configuration,
java.util.Properties properties)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.