+ HttpServletRequest httpRequest = RWT.getRequest();
+ HttpSession httpSession = httpRequest.getSession();
+ httpSession.setAttribute(SPRING_SECURITY_CONTEXT_KEY, null);
+ RWT.getRequest().getSession().setMaxInactiveInterval(1);
+ SecurityContextHolder.clearContext();