Examples of invalidateNow()


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

        // user was deleted/disabled during session
        HttpServletResponse response = ((WebResponse) getRequestCycle().getResponse())
            .getHttpServletResponse();
        app().authentication().logout(response, user);
        session.setUser(null);
        session.invalidateNow();
        return;
      }

      // validate cookie during session (issue-361)
      if (user != null && app().settings().getBoolean(Keys.web.allowCookieAuthentication, true)) {
View Full Code Here

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

            // cookie was changed during our session
            HttpServletResponse response = ((WebResponse) getRequestCycle().getResponse())
                .getHttpServletResponse();
            app().authentication().logout(response, user);
            session.setUser(null);
            session.invalidateNow();
            return;
          }
        }
      }
      session.setUser(user);
View Full Code Here

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

      if (user == null || user.disabled) {
        // user was deleted/disabled during session
        app().authentication().logout(request, response, user);
        session.setUser(null);
        session.invalidateNow();
        return;
      }

      // validate cookie during session (issue-361)
      if (user != null && app().settings().getBoolean(Keys.web.allowCookieAuthentication, true)) {
View Full Code Here

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

        if (!StringUtils.isEmpty(requestCookie) && !StringUtils.isEmpty(user.cookie)) {
          if (!requestCookie.equals(user.cookie)) {
            // cookie was changed during our session
            app().authentication().logout(request, response, user);
            session.setUser(null);
            session.invalidateNow();
            return;
          }
        }
      }
      session.setUser(user);
View Full Code Here

Examples of org.apache.wicket.security.WaspSession.invalidateNow()

        WaspSession secureSession = (WaspSession) getSession();

        if (secureSession.isUserAuthenticated() && getLoggedInUser() != null)
        {
          secureSession.logoff(getLoggedInUser());
          secureSession.invalidateNow();
        }

        MyLoginContext userContext = new MyLoginContext(username, password);

        try
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.