import org.apache.wicket.markup.html.link.Link;
public class AuthenticatedPage extends WebPage {
@Override
protected void onConfigure() {
AuthenticatedWebApplication app = (AuthenticatedWebApplication) AuthenticatedWebApplication.get();
if(!AuthenticatedWebSession.get().isSignedIn())
app.restartResponseAtSignInPage();
}