In cases where LDAP attribute values represent concrete Java objects, a ValueTranscoder can be used to convert those types. The ValueTranscoder interface looks like:
Ldaptive provides the following value transcoder implementations:
Provides the ability to read a PEM encoded certificate from an LDAP attribute in order to create a java.security.cert.Certificate object. Conversely, a java.security.cert.Certificate can also be written to the directory as a PEM encoded certificate.
Provides the ability to read a generalized time from an LDAP attribute in order to create a java.util.Calendar (or ZonedDateTime in v1.2) object. Conversely, a java.util.Calendar can also be written to the directory in generalized time format.
Ldaptive is an open source project developed and supported by
at Virginia Tech