Example usage for org.apache.wicket.markup.html WebPage getSession

List of usage examples for org.apache.wicket.markup.html WebPage getSession

Introduction

In this page you can find the example usage for org.apache.wicket.markup.html WebPage getSession.

Prototype

public Session getSession() 

Source Link

Document

Gets the current Session object.

Usage

From source file:org.projectforge.web.LoginPage.java

License:Open Source License

public static void internalLogin(final WebPage page, final PFUserDO user) {
    ((MySession) page.getSession()).login(user, page.getRequest());
    UserFilter.login(WicketUtils.getHttpServletRequest(page.getRequest()), user);
}