edu.vt.middleware.ldap.ssl
Interface CredentialConfig

All Known Implementing Classes:
KeyStoreCredentialConfig, X509CredentialConfig

public interface CredentialConfig

CredentialConfig provides a base interface for all credential configurations. Since credential configs are invoked via reflection by the PropertyInvoker their method signatures are not important. They only need to be able to create an SSL context initializer once their properties have been set.

Version:
$Revision: 1106 $ $Date: 2010-01-29 23:34:13 -0500 (Fri, 29 Jan 2010) $
Author:
Middleware Services

Method Summary
 SSLContextInitializer createSSLContextInitializer()
          Creates an SSLContextInitializer using the configured trust and authentication material in this config.
 

Method Detail

createSSLContextInitializer

SSLContextInitializer createSSLContextInitializer()
                                                  throws GeneralSecurityException
Creates an SSLContextInitializer using the configured trust and authentication material in this config.

Returns:
SSLContextInitializer
Throws:
GeneralSecurityException - if the ssl context initializer cannot be created


Copyright © 2003-2010 Virginia Tech. All Rights Reserved.