fix various session issues and cleanup

main change is to force spring security to always send user to welcome.mvc after login which gets their session setup properly before redirecting to start.mvc
This commit is contained in:
lawson89
2014-08-21 09:05:12 -04:00
parent 9bdedd0eff
commit 2d7679cdda
6 changed files with 62 additions and 41 deletions

View File

@ -782,6 +782,8 @@ public class WebSession {
// System.out.println("Previous Screen 1: " + previousScreen );
// FIXME: requires ?Logout=true
// FIXME: doesn't work right -- no reauthentication
// REMOVED - we have explicit logout now via spriing security
/*
if (myParser.getRawParameter(LOGOUT, null) != null) {
System.out.println("Logout " + request.getUserPrincipal());
eatCookies();
@ -789,6 +791,7 @@ public class WebSession {
currentScreen = WELCOME;
previousScreen = ERROR;
}
*/
// There are several scenarios where we want the first lesson to be loaded
// 1) Previous screen is Welcome - Start of the course