예제 #1
0
 /// <summary>
 /// 设置单点登录本地Ticket
 /// </summary>
 /// <param name="staff">用户</param>
 private void SetLocalTicket(MStaffInfo staff)
 {
     try
     {
         if (SSOClientConfigHelper.SSOType == 1 || SSOClientConfigHelper.SSOType == 2)
         {
             DefaultClient client = new DefaultClient();
             client.SaveLocalTicket(staff.Staff_id);
         }
     }
     catch (Exception ex)
     {
         AppException appEx = new AppException(string.Empty, "认证中心故障:" + ex.Message, ex, null);
         LogManager.Log.WriteException(appEx);
     }
 }