List of usage examples for org.apache.wicket.authroles.authentication AuthenticatedWebApplication restartResponseAtSignInPage
public void restartResponseAtSignInPage()
From source file:com.romeikat.datamessie.core.base.ui.page.AbstractAuthenticatedPage.java
License:Open Source License
private boolean redirectToSignInPageIfNecessary() { if (!AuthenticatedWebSession.get().isSignedIn()) { final AuthenticatedWebApplication app = (AuthenticatedWebApplication) Application.get(); app.restartResponseAtSignInPage(); return true; }/* ww w . j av a 2 s . c om*/ return false; }
From source file:de.smf.timetracker.model.HomePageModel.java
License:Apache License
@Override protected void onConfigure() { AuthenticatedWebApplication app = (AuthenticatedWebApplication) AuthenticatedWebApplication.get(); if (!AuthenticatedWebSession.get().isSignedIn()) { app.restartResponseAtSignInPage(); }/*w w w . j a va2s .c o m*/ }
From source file:org.wicketTutorial.AuthenticatedPage.java
License:Apache License
@Override protected void onConfigure() { AuthenticatedWebApplication app = (AuthenticatedWebApplication) AuthenticatedWebApplication.get(); if (!AuthenticatedWebSession.get().isSignedIn()) app.restartResponseAtSignInPage(); }