public class DefaultSessionValidator extends SessionValidator
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.
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
Constructor and Description |
---|
DefaultSessionValidator() |
Modifier and Type | Method and Description |
---|---|
void |
doPerform(PipelineData pipelineData)
Execute the action.
|
getRunData
public DefaultSessionValidator()
public void doPerform(PipelineData pipelineData) throws Exception
doPerform
in class Action
pipelineData
- Turbine PipelineData context information.Exception
- The anonymous user could not be obtained
from the security serviceInvalidState
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.