Example usage for org.apache.wicket.authroles.authentication.panel SignInPanel setRememberMe

List of usage examples for org.apache.wicket.authroles.authentication.panel SignInPanel setRememberMe

Introduction

In this page you can find the example usage for org.apache.wicket.authroles.authentication.panel SignInPanel setRememberMe.

Prototype

public void setRememberMe(final boolean rememberMe) 

Source Link

Usage

From source file:ca.travelagency.authentication.SignInPage.java

License:Apache License

public SignInPage() {
    SignInPanel signInPanel = new SignInPanel(SIGN_IN_PANEL, false);
    // FIXME getSession().invalidate(); does not remove the cookie
    //      SignInPanel signInPanel = new SignInPanel(SIGN_IN_PANEL);
    signInPanel.setRememberMe(false);
    add(signInPanel);//ww  w  . j  a v  a  2  s .co m
}

From source file:org.jabylon.rest.ui.security.LoginPage.java

License:Open Source License

public LoginPage(PageParameters parameters) {
    super(parameters);
    SignInPanel panel = new BootstrapSignInPanel("sign-in", true);
    panel.setRememberMe(false);
    panel.addOrReplace(new Label("feedback", ""));
    add(panel);//w  w w. j ava  2  s  . c om
}