internal void ClearSession()
{
#if !FEATURE_PAL // Security
GlobalLog.Print("AuthenticationState#" + ValidationHelper.HashString(this) + "::ClearSession() NTAuthentication#" + ValidationHelper.HashString(SecurityContext));
if (SecurityContext != null)
{
SecurityContext.CloseContext();
SecurityContext = null;
}
#endif // FEATURE_PAL // Security
}