loginEvent(null); } else if ("LogoutEvent".equals(event.getActionCommand())) { logoutEvent(); String loginName = event.getActionCommand().substring("LoginSwitch:".length()); ProviderCredentials credentials = loginAwsCredentialsMap.get(loginName); loginEvent(credentials); } else if ("QuitEvent".equals(event.getActionCommand())) { System.exit(0);
loginEvent(null); } else if ("LogoutEvent".equals(event.getActionCommand())) { logoutEvent(); String loginName = event.getActionCommand().substring("LoginSwitch:".length()); ProviderCredentials credentials = loginAwsCredentialsMap.get(loginName); loginEvent(credentials); } else if ("QuitEvent".equals(event.getActionCommand())) { System.exit(0);