Example #1
0
        public void SignOut()
        {
            const string logMethodName = ".SignOut()";

            _log.Debug(logMethodName + " - Begin Method");

            try
            {
                _log.Debug(logMethodName + " - Calling ISecurityAdapter.SignOut()");

                _adapter.SignOut();
                CleanupCookies();
                WTFSession.ClearSession();
            }
            catch (Exception ex)
            {
                _log.Error(logMethodName + " - Error Signing user into system", ex);
                throw new WtfException(logMethodName + " - Error Signing user into system", ex);
            }

            _log.Debug(logMethodName + " - End Method");
        }