skip to main content
Using LDAP with the OpenAccess SDK Clients : Connecting Using LDAP and JNDI
 

Connecting Using LDAP and JNDI

The JDBC Client connection settings can be stored in an LDAP repository using Java Naming and Directory Interface (JNDI) using javaReferenceAddress.
The following example shows a JNDI entry for OpenAccess SDK:

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