public static void ValidateSecureConnection(SSLSettings ssl, HttpContext context) { if (HiConfiguration.GetConfig().SSL == ssl) { Globals.RedirectToSSL(context); } }