Example usage for org.apache.wicket.protocol.http.mock MockHttpSession setTemporary

List of usage examples for org.apache.wicket.protocol.http.mock MockHttpSession setTemporary

Introduction

In this page you can find the example usage for org.apache.wicket.protocol.http.mock MockHttpSession setTemporary.

Prototype

public final void setTemporary(boolean temporary) 

Source Link

Document

Changes the state of this session.

Usage

From source file:org.hippoecm.frontend.WhitelistedClassesResourceGuardTest.java

License:Apache License

private void login() {
    final MockHttpSession httpSession = tester.getHttpSession();
    httpSession.setTemporary(false);
    new CmsContextServiceImpl().create(httpSession);
}