Esempio n. 1
0
 private bool validateIdentity(FeederIdentity identity)
 {
     return identity != null &&
         !string.IsNullOrWhiteSpace(identity.Group) &&
         !string.IsNullOrWhiteSpace(identity.Location) &&
         !string.IsNullOrWhiteSpace(identity.Realm);
 }
 public static void SetFeederIdentity(FeederIdentity identity)
 {
     HttpContext.Current.Items.Add("FeederIdentity", identity);
 }