Package org.apache.nifi.ldap.ssl
Class StandardLdapSslContextProvider
java.lang.Object
org.apache.nifi.ldap.ssl.StandardLdapSslContextProvider
- All Implemented Interfaces:
LdapSslContextProvider
Standard implementation of LDAP SSLContext Provider supporting common properties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateContext(Map<String, String> properties) Create SSLContext using configured properties defaulting to system trust store when trust store properties not configuredprivate KeyStoregetKeyStore(Map<String, String> properties) private KeyStoregetTrustStore(Map<String, String> properties)
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
DEFAULT_PROTOCOL
- See Also:
-
-
Constructor Details
-
StandardLdapSslContextProvider
public StandardLdapSslContextProvider()
-
-
Method Details
-
createContext
Create SSLContext using configured properties defaulting to system trust store when trust store properties not configured- Specified by:
createContextin interfaceLdapSslContextProvider- Parameters:
properties- Provider properties- Returns:
- SSLContext initialized using configured properties
-
getKeyStore
- Throws:
IOException
-
getTrustStore
- Throws:
IOException
-