remove "if (webConfig.getInvalidateHttpSessionOnLogout())" case in module web6 in class com.haulmont.cuba.web.DefaultApp. #PL-2871

This commit is contained in:
Aleksey Kozyaikin 2013-10-31 13:43:37 +00:00
parent 3b3889cdaf
commit 48dd387c1b

View File

@ -153,24 +153,14 @@ public class DefaultApp extends App implements ConnectionListener {
afterLoggedIn();
} else {
log.debug("Closing all windows");
if (webConfig.getInvalidateHttpSessionOnLogout()) {
cleanupBackgroundTasks();
getTimers().stopAll();
closeAllWindows();
this.close();
} else {
cleanupBackgroundTasks();
getTimers().stopAll();
closeAllWindows();
String name = currentWindowName.get();
if (name == null) {
if (name == null)
name = createWindowName(false);
}
Window window = createLoginWindow();
window.setName(name);
@ -181,7 +171,6 @@ public class DefaultApp extends App implements ConnectionListener {
initExceptionHandlers(false);
}
}
}
/**
* Perform actions after success login