boolean auth = usess.isAuthenticated();
if (!auth || !ureq.isValidDispatchURI()) {
// String lang =
// I18nManager.getInstance().getDefaultLocale().toString();
Identity ident = ManagerFactory.getManager().findIdentityByName("administrator");
usess.signOffAndClear();
usess.setIdentity(ident);
usess.setRoles(new Roles(true, true, true, true, false, true));
usess.setLocale(I18nManager.getInstance().getLocaleOrDefault(ident.getUser().getPreferences().getLanguage()));
// brasato:: was
// Windows.getWindows(ureq).getWindowManager().getGlobalSettings().setFontSize(
// identity.getUser().getPreferences().getFontsize() );
Windows.getWindows(ureq).setAttribute("fontsize", ident.getUser().getPreferences().getFontsize());
AuthHelper.setSessionInfoFor(ident, OLATAuthenticationController.PROVIDER_OLAT, ureq);
// put users personal rss token into session
RSSUtil.putPersonalRssTokenInSession(ureq);
// confirm signedOn