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