/*! * Used for connDetails that was received from UI with replaced sensitive info by SENSITIVE_VALUE_REPLACER. * Here it will be replaced back to real values. * */ public static void ResetSensitiveInfo(ConnectionDetails connDetails) { try { ConnectionDetails connFromFs = Read(false); connFromFs.ResetSensitiveInfoTo(connDetails); } catch (FileNotFoundException) { //do nothing, configuration file still not exist } }
/*! * Used for connDetails that was received from UI with replaced sensitive info by SENSITIVE_VALUE_REPLACER. * Here it will be replaced back to real values. * */ public static void ResetSensitiveInfo(ConnectionDetails connDetails) { ConnectionDetails connFromFs = Read(false); connFromFs.ResetSensitiveInfoTo(connDetails); }