List of usage examples for javax.naming.directory Attributes put
Attribute put(String attrID, Object val);
Source Link