code: private void setConfigEntityMapping(Map<String, Object> configProps) throws WIMException {
          List<String> entityTypes = getSupportedEntityTypes();
          String rdnProp;
          String type = null;
          entityConfigMap = new HashMap<String, String>();
          for (int i = 0; i < entityTypes.size(); i++) {
              type = entityTypes.get(i);
              rdnProp = (getRDNProperties(type) == null) ? null : getRDNProperties(type)[0];
              entityConfigMap.put(type, rdnProp);
          }
          if (entityConfigMap.get(Service.DO_LOGIN_ACCOUNT) == null && entityConfigMap.get(personAccountType) != null)
              entityConfigMap.put(Service.DO_LOGIN_ACCOUNT, entityConfigMap.get(personAccountType));
  
          if (tc.isDebugEnabled())
              Tr.debug(tc, "setConfigEntityMapping entityConfigMap:" + entityConfigMap);
      }
docs: Set the mapping of RDN properties for each entity type. A map is created
  with the key as the entity type and the value as the RDN property to be used.
  This information is taken from the configuration.
  
  @param configProps map containing the configuration information.
  
  @throws WIMException throw when there is not a mapping for a user
  or not a mapping for a group.