log.error("Logout Error", ee);
throw new ModelException(ee);
}
userEnv.clearAttributes();
userEnv.reset();
// DefaultContext dc = (DefaultContext) req.getContext ();
// dc.put (UserEnvironment.CONTEXT_KEY, null);
PreferencesManager preferencesManager = (PreferencesManager) SpringTools
.getBean(PreferencesManager.ID);