Using LDAP Authentication
You can configure the connector to use the LDAP protocol to authenticate the connection.
You provide the configuration information to the connector in the connection URL. For more information about the syntax of the connection URL, see Building the Connection URL.
Note:
If LDAP authentication is enabled, then to enable or disable SSL, set the SSL
property, see SSL.
To configure LDAP authentication:
- In the connection URL, set the
AuthenticationType
property toLDAP Authentication
. - Set the
SSLTrustStorePath
property to the full path of the TrustStore that you want to use. - Set the
SSLTrustStorePwd
property to your password for accessing the TrustStore. - Set the
UID
property to an appropriate user name for accessing the Presto server. - Set the
PWD
property to the password corresponding to the user name you provided.
For example:
jdbc:presto://presto-demo-cdh:7778;AuthenticationType=LDAP Authentication;SSLTrustStorePath=C:\\Program Files\\Java\\jre1.8.0_92\\lib\\security\\cacerts;SSLTrustStorePwd=changeit;UID=simba;PWD=simba123