org.apache.jetspeed.modules.actions
Class TemplateSessionValidator
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.turbine.modules.Action
org.apache.turbine.modules.actions.sessionvalidator.SessionValidator
org.apache.jetspeed.modules.actions.TemplateSessionValidator
- Direct Known Subclasses:
- JAASSessionValidator, JetspeedSessionValidator, NTLMSessionValidator
- public class TemplateSessionValidator
- extends org.apache.turbine.modules.actions.sessionvalidator.SessionValidator
SessionValidator for use with the Template Service, the
TemplateSessionValidator is virtually identical to the
TemplateSecureValidator except that it does not tranfer 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.
- Version:
- $Id: TemplateSessionValidator.java,v 1.3 2004/02/23 02:59:06 jford Exp $
- Author:
- John D. McNally, Dave Bryson
- See Also:
TemplateSecureSessionValidator
Method Summary |
void |
doPerform(org.apache.turbine.util.RunData rundata)
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 |
TemplateSessionValidator
public TemplateSessionValidator()
doPerform
public void doPerform(org.apache.turbine.util.RunData rundata)
throws java.lang.Exception
- Execute the action.
- Throws:
Exception,
- a generic exception.
java.lang.Exception
requiresNewSession
public boolean requiresNewSession(org.apache.turbine.util.RunData data)
- 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.
- 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.