code: @Override
      public void set(String key, String value) {
      	if("dn".equals(key)) {
      		this.dn = value;
      	} else if (value != null
                  && !value.isEmpty()
                  && key != null
                  && !key.isEmpty()) {
              addAttribute(new BasicAttribute(key, value, true));
          }
      }
docs: Sets the value of an entry.
  
  @param key the key of that entry.
  @param value the new value for that entry.