public void SignIn(string username) { const string logMethodName = ".SignIn(string username)"; _log.Debug(logMethodName + " - Begin Method"); try { _log.Debug(logMethodName + " - Calling ISecurityAdapter.SignIn(username)"); WTFSession.NewSession(); CleanupCookies(); _adapter.SignIn(username); } 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"); }