Skip to content
Snippets Groups Projects

ITS#9838 Add decoding of the RFC 4517 Postal Address format.

Merged ITS#9838 Add decoding of the RFC 4517 Postal Address format.
Merged Fredrik Roubert requested to merge roubert/jdbcldap:its9838 into master
2 files
+ 12
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -134,6 +134,8 @@ public class JndiLdapConnection implements java.sql.Connection {
/** LDAP connection */
LDAPConnection con;
/** LDAP schema */
LDAPSchema schema;
/**Stores properties for initialization */
Hashtable env;
@@ -438,7 +440,7 @@ public class JndiLdapConnection implements java.sql.Connection {
try {
if (startTLS) con.startTLS();
if (user != null && pass != null) con.bind(3,user,pass.getBytes());
schema = con.fetchSchema(con.getSchemaDN());
} catch (LDAPException e) {
throw new SQLNamingException(e);
}
Loading