private string ResolveStartUrl() { string start = "authenticate/winLogin"; string u; string p; if (this.User != null) { u = this.User; } else { u = getCurrentUser(); } if (this.Password != null) { p = this.Password; } else { p = HttpInvoker.ConfigurationGet("HttpPasswordPlain"); }; start += "?u=" + HttpUtility.UrlEncode(u); start += "&p=" + HttpUtility.UrlEncode(p); return(start); }
private string getCurrentUser() { return(HttpInvoker.ConfigurationGet("HttpUser")); }