public override bool Equals(object obj)
{
if (obj == this)
{
return true;
}
if (obj is SimpleAuthenticationInfo)
{
var info = (SimpleAuthenticationInfo) obj;
return (Principals == null ? info.Principals == null : Principals.Equals(info.Principals));
}
return false;
}