Details
Description
3. scenario - escaped plus character somewhere in the RDN attribute:
public void insert() {
Attributes attributes = new BasicAttributes(false);
attributes.put(createObjectClassPerson());
attributes.put("cn", "John
+Doe");
attributes.put("sn", "\\+Name
+");
try
catch (NamingException e)
{ e.printStackTrace(); }}
The result is an entry with two cn attributes, one with a plus and the other one with an escaped plus. Also a warning appears
WARN [org.apache.directory.server.core.normalization.NormalizationInterceptor] - The RDN 'cn=John+Doe' is not present in the entry.