if (getConfig().isRedirectEnabled()) {
Redirector.redirect(getConfig().getRedirectAfterLogout());
}
} catch (PageNotFoundException cause) {
throw new ConfigurationException( bundle.getString("after-logout-page-not-found",cause.getViewId()) , cause);
} finally {
try {
Beans.getReference(HttpSession.class).invalidate();
} catch (IllegalStateException e) {