What’s New in Spring LDAP 4.2
Breaking Changes
-
AttributeSchemanow validates that an attribute’s LDAP name can be converted into a valid Java identifier. -
gh-1812 -
CompareFilter(and thereforeEqualsFilter,LikeFilterand the other comparison filters),PresentFilterandNotPresentFilternow reject, with anIllegalArgumentException, any attribute name that is not a valid RFC 4512 attribute description. Values continue to be escaped; attribute names are validated and should not come from untrusted input. See Building LDAP Queries.
Core
-
Added
LdapClient.Builder#dirContextPostProcessorfor post-processing a `DirContextAdapter’s construction -
Added
DirContextAdapter#setMayRemoveByValuefor controlling, per attribute, whetherDirContextAdaptermay remove individual values or must replace an attribute in its entirety. See Customizing HowDirContextAdapterCalculates Modifications.