Class LoginInProcessFlag


  • public class LoginInProcessFlag
    extends Object
    This sits in the session to say that a login is in process. Authenticate sets the flag each time it redirects to the login widget, and the login widget inspects the flag and resets it. If ever the login widget finds that the flag is already reset, it knows that the user navigated to the widget directly, rather than coming through Authenticate, and so it discards any existing LoginProcessBean as obsolete.
    • Constructor Detail

      • LoginInProcessFlag

        public LoginInProcessFlag()
    • Method Detail

      • set

        public static void set​(javax.servlet.http.HttpServletRequest request)
        Set the flag, saying that a login session is in process.
      • checkAndReset

        public static boolean checkAndReset​(javax.servlet.http.HttpServletRequest request)
        Check to see whether the flag is set. Reset it.