org.apache.turbine.modules.actions.sessionvalidator
Class TemplateSessionValidator

java.lang.Object
  extended by org.apache.turbine.modules.Assembler
      extended by org.apache.turbine.modules.Action
          extended by org.apache.turbine.modules.actions.sessionvalidator.SessionValidator
              extended by org.apache.turbine.modules.actions.sessionvalidator.TemplateSessionValidator

public class TemplateSessionValidator
extends SessionValidator

SessionValidator for use with the Template Service, the TemplateSessionValidator is virtually identical to the TemplateSecureValidator except that it does not transfer to the login page when it detects a null user (or a user not logged in).

The Template Service requires a different Session Validator because of the way it handles screens.

Note that you will need to set the template.login property to the login template.

Version:
$Id: TemplateSessionValidator.java 1066518 2011-02-02 16:30:53Z ludwig $
Author:
John D. McNally, Dave Bryson, Henning P. Schmiedehausen, Peter Courcoux
See Also:
TemplateSecureSessionValidator

Field Summary
 
Fields inherited from class org.apache.turbine.modules.Action
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
 
Constructor Summary
TemplateSessionValidator()
           
 
Method Summary
 void doPerform(PipelineData pipelineData)
          Execute the action.
 void doPerform(RunData data)
          Deprecated. Use PipelineData version instead.
 
Methods inherited from class org.apache.turbine.modules.Action
getPrefix, perform, perform
 
Methods inherited from class org.apache.turbine.modules.Assembler
getRunData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateSessionValidator

public TemplateSessionValidator()
Method Detail

doPerform

@Deprecated
public void doPerform(RunData data)
               throws TurbineException
Deprecated. Use PipelineData version instead.

Execute the action.

Specified by:
doPerform in class Action
Parameters:
data - Turbine information.
Throws:
TurbineException - The anonymous user could not be obtained from the security service

doPerform

public void doPerform(PipelineData pipelineData)
               throws TurbineException
Execute the action.

Overrides:
doPerform in class Action
Parameters:
pipelineData - Turbine information.
Throws:
TurbineException - The anonymous user could not be obtained from the security service


Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.