switch (cifsConnectionType) {
case TELNET:
connection = new CifsTelnetConnection(type, options, mapper);
break;
case WINRM_INTERNAL:
connection = new CifsWinRmConnection(type, options, mapper);
break;
case WINRM_NATIVE:
connection = new CifsWinrsConnection(type, options, mapper);
break;
default: