Package com.gitblit.wicket

Examples of com.gitblit.wicket.GitBlitWebSession.invalidate()


  public LogoutPage() {
    super();
    GitBlitWebSession session = GitBlitWebSession.get();
    UserModel user = session.getUser();
    app().authentication().logout(((WebResponse) getResponse()).getHttpServletResponse(), user);
    session.invalidate();

    /*
     * Now check whether the authentication was realized via the Authorization in the header.
     * If so, it is likely to be cached by the browser, and cannot be undone. Effectively, this means
     * that you cannot log out...
View Full Code Here


    super();
    GitBlitWebSession session = GitBlitWebSession.get();
    UserModel user = session.getUser();
    app().authentication().logout(((WebRequest) getRequest()).getHttpServletRequest(),
        ((WebResponse) getResponse()).getHttpServletResponse(), user);
    session.invalidate();

    /*
     * Now check whether the authentication was realized via the Authorization in the header.
     * If so, it is likely to be cached by the browser, and cannot be undone. Effectively, this means
     * that you cannot log out...
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.