I can add two descriptions (attribute) using my IDE, but from Java I can only add one description. How to add the second one?
I'm using the JDK LDAP library.
I can add two descriptions (attribute) using my IDE, but from Java I can only add one description. How to add the second one?
I'm using the JDK LDAP library.
After some tries I was able to do it myself
Attributes attrs = new BasicAttributes(true);
BasicAttribute b = new BasicAttribute("description");
b.add("a");
b.add("b");
attrs.put(b);