List of usage examples for org.apache.wicket.authroles.authentication.panel SignInPanel setRememberMe
public void setRememberMe(final boolean rememberMe)
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 }