code: public final SettingsMap getSettings (final String targetName, final int connectionID) {
  
          final SettingsMap sm = new SettingsMap();
  
          // set all default settings
          synchronized (globalConfig) {
              for (Map.Entry<OperationalTextKey , SettingEntry> e : globalConfig.entrySet()) {
                  sm.add(e.getKey(), e.getValue().getValue());
              }
          }
  
          // set all further settings
          final SessionConfiguration sc;
          synchronized (sessionConfigs) {
              sc = sessionConfigs.get(targetName);
  
              synchronized (sc) {
                  if (sc != null) {
                      final SettingsMap furtherSettings = sc.getSettings(connectionID);
                      for (Map.Entry<OperationalTextKey , String> e : furtherSettings.entrySet()) {
                          sm.add(e.getKey(), e.getValue());
                      }
                  }
              }
          }
  
          return sm;
      }
docs: Unifies all parameters (in the right precedence) and returns one <code>SettingsMap</code>. Right order means:
  default, then the session-wide, and finally the connection-wide valid parameters.
  
  @param targetName Name of the iSCSI Target to connect.
  @param connectionID The ID of the connection to retrieve.
  @return All unified parameters in one single <code>SettingsMap</code>.