Package org.ldaptive.ssl
Interface CredentialConfig
-
- All Known Implementing Classes:
KeyStoreCredentialConfig
,X509CredentialConfig
public interface 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SSLContextInitializer
createSSLContextInitializer()
Creates an SSL context initializer using the configured trust and authentication material in this config.
-
-
-
Method Detail
-
createSSLContextInitializer
SSLContextInitializer createSSLContextInitializer() throws GeneralSecurityException
Creates an SSL context initializer using the configured trust and authentication material in this config.- Returns:
- SSL context initializer
- Throws:
GeneralSecurityException
- if the ssl context initializer cannot be created
-
-