org.mule.umo.security
Interface TlsIndirectKeyStore

All Known Implementing Classes:
AbstractTlsRetrieveMailConnector, HttpsConnector, SmtpsConnector, SslConnector, TlsConfiguration

public interface TlsIndirectKeyStore

Configure indirect key stores. TLS/SSL connections are made on behalf of an entity, which can be anonymous or identified by a certificate - this interface specifies how a keystore can be used to provide the certificates (and assocaited private keys) necessary for identification.

The information specified in this interface is used to configure a key store indirectly. For more information see the documentation for the connector or protocol in question. The comments in TlsConfiguration may also be useful.

Programmers: this information, once stored in and retrieved from properties via TlsPropertiesMapper, will provide a key manager factory via the TlsDirectKeyStore interface implemented by TlsConfiguration. This can be associated with a socket factory via TlsPropertiesSocketFactory.


Method Summary
 String getClientKeyStore()
           
 String getClientKeyStorePassword()
           
 String getClientKeyStoreType()
           
 void setClientKeyStore(String name)
           
 void setClientKeyStorePassword(String clientKeyStorePassword)
           
 void setClientKeyStoreType(String clientKeyStoreType)
           
 

Method Detail

getClientKeyStore

public String getClientKeyStore()
Returns:
The location (resolved relative to the current classpath and file system, if possible) of the keystore that contains public certificates and private keys for identification.

setClientKeyStore

public void setClientKeyStore(String name)
                       throws IOException
Parameters:
name - The location of the keystore that contains public certificates and private keys for identification.
Throws:
IOException - If the location cannot be resolved via the file system or classpath

getClientKeyStorePassword

public String getClientKeyStorePassword()
Returns:
The password used to protect the keystore itself

setClientKeyStorePassword

public void setClientKeyStorePassword(String clientKeyStorePassword)

setClientKeyStoreType

public void setClientKeyStoreType(String clientKeyStoreType)
Returns:
The type of keystore used in #getKeyStore()

getClientKeyStoreType

public String getClientKeyStoreType()


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