Configuring LDAP settings for OpenAccess SDK Clients that use SSL data encryption
If you are using LDAP in your OpenAccess SDK environment, you can configure SSL encryption as shown in the following examples. The LDAP attribute used to configure encryption depends on whether you are configuring an LDAP entry for the JDBC, ODBC, or ADO client (see Example 1 and Example 2).
Example 1
Configure SSL encryption using the JavaReferenceAddress attribute (javaReferenceAddress: #4#encrypted#1).
dn: cn=IP on myServer,ou=myUser,ou=USERS,o=Development
cn: DAM on myServerobjectClass: top
objectClass: javaContainer
objectClass: javaObject
objectClass: javaNamingReference
javaReferenceAddress: #0#description#
javaReferenceAddress: #1#portNumber#19986
javaReferenceAddress: #2#serverName#myServerjavaReferenceAddress: #3#serverDataSource#Default
javaReferenceAddress: #4#encrypted#1
javaReferenceAddress: #5#customproperties#(A=abc;B=xyz)
javaFactory: com.ddtek.jdbcx.openaccess.OpenAccessDataSourceFactory
javaClassName: com.ddtek.jdbcx.openaccess.OpenAccessDataSource
Example 2
Configure SSL encryption using the OpenAccessEncrypted attribute (OpenAccessEncrypted:1).
# usercn.ldiff template
# USER myUser# DATABASE OpenAccess SDK
# HOST myHost# PORT 19986
#dn: cn=IP on myHost,ou=myUser,ou=USERS,o=Development
cn: IP on myHostobjectClass: top
objectClass: OpenAccessODBCDSN
OpenAccessPort: 19986
OpenAccessHost: myHostOpenAccessServerDatasource: Default
OpenAccessEncrypted: 1
OpenAccessCustomProperties: (A=abc;B=xyz)