Beispiel #1
0
 public void Validate_Test()
 {
     const string caspath = "http://cas.uat.qa.nt.ctripcorp.com/caso";
     string validateurl = caspath + "/validate?service=" + "hhtp://localhost/text" + "&ticket=" + "12122121";
     SSOValidate ssOValidate = new SSOValidate();
     ValidateResult result = ssOValidate.Validate(validateurl);
     Assert.IsTrue(string.IsNullOrWhiteSpace(result.UserID));
 }
Beispiel #2
0
 public Authorization()
 {
     tag.Add("cooperation_id", AppConst.CFX_CooperationID);
     ssoValidate = new SSOValidate();
 }