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
Modifier and TypeMethodDescriptionCreates an SSL context initializer using the configured trust and authentication material in this config.
-
Method Details
-
createSSLContextInitializer
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
-