Example #1
0
        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);
        }
Example #2
0
 private string getCurrentUser()
 {
     return(HttpInvoker.ConfigurationGet("HttpUser"));
 }