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

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Action
          extended byorg.apache.turbine.modules.actions.sessionvalidator.SessionValidator
              extended byorg.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 534527 2007-05-02 16:10:59Z tv $
Author:
John D. McNally, Dave Bryson, Henning P. Schmiedehausen
See Also:
TemplateSecureSessionValidator

Constructor Summary
TemplateSessionValidator()
           
 
Method Summary
 void doPerform(RunData data)
          Execute the action.
 
Methods inherited from class org.apache.turbine.modules.Action
perform
 
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

public void doPerform(RunData data)
               throws TurbineException
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


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.