Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`.

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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.