org.apache.jetspeed.modules.actions
Class JetspeedSessionValidator

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.jetspeed.modules.actions.TemplateSessionValidator
                  extended byorg.apache.jetspeed.modules.actions.JetspeedSessionValidator

public class JetspeedSessionValidator
extends TemplateSessionValidator

Just like org.apache.turbine.modules.actions.sessionvalidator.TemplateSessionValidator except:

Version:
$Id: JetspeedSessionValidator.java,v 1.28 2005/03/21 18:21:36 sgala Exp $
Author:
Ingo Schuster, Raphaël Luta, Santiago Gala
See Also:
TemplateSessionValidator

Constructor Summary
JetspeedSessionValidator()
           
 
Method Summary
 void doPerform(org.apache.turbine.util.RunData data)
          Execute the action.
 boolean requiresNewSession(org.apache.turbine.util.RunData data)
          By default, this is true.
 
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

JetspeedSessionValidator

public JetspeedSessionValidator()
Method Detail

doPerform

public void doPerform(org.apache.turbine.util.RunData data)
               throws java.lang.Exception
Execute the action.

Overrides:
doPerform in class TemplateSessionValidator
Parameters:
data - Turbine information.
Throws:
Exception, - a generic exception.
java.lang.Exception

requiresNewSession

public boolean requiresNewSession(org.apache.turbine.util.RunData data)
Description copied from class: TemplateSessionValidator
By default, this is true. It says that we require a new session in order to allow people to access the system. We accomplish this by doing a redirect and using the HttpSession spec.

Overrides:
requiresNewSession in class TemplateSessionValidator
Parameters:
data - Turbine information.
Returns:
True if we require a new session in order to allow people to access the system.


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