Class LoginInProcessFlag
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.controller.authenticate.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 Summary
Constructors Constructor Description LoginInProcessFlag()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancheckAndReset(javax.servlet.http.HttpServletRequest request)Check to see whether the flag is set.static voidset(javax.servlet.http.HttpServletRequest request)Set the flag, saying that a login session is in process.
-