public abstract class SessionValidator extends Object implements Action
Other systems generally have a database table which stores this information, but we take advantage of the Servlet API here to save a hit to the database for each and every connection that a user makes.
This action is special in that it should only be executed by the Turbine servlet.
Modifier and Type | Field and Description |
---|---|
protected String |
screenHomepage |
protected String |
screenInvalidState |
protected SecurityService |
security |
protected String |
templateHomepage |
protected String |
templateInvalidState |
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
Constructor and Description |
---|
SessionValidator() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleFormCounterToken(RunData data,
boolean screenOnly) |
protected SecurityService security
protected String templateHomepage
protected String screenHomepage
protected String templateInvalidState
protected String screenInvalidState
public SessionValidator()
protected void handleFormCounterToken(RunData data, boolean screenOnly)
data
- RunData objectscreenOnly
- DefaultSessionValidator
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.