|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.turbine.modules.Assembler | +--org.apache.turbine.modules.Action | +--org.apache.turbine.modules.actions.sessionvalidator.SessionValidator | +--org.apache.turbine.modules.actions.sessionvalidator.TemplateSecureSessionValidator
SessionValidator that requires login for use with the WebMacroSite
Service.
The WebMacroSite Service requires a different Session Validator
because of the way it handles screens. If you use the WebMacroSite
Service with the DefaultSessionValidator, users will be able to
bypass login by directly addressing the template using
template/index.wm. This is because WebMacroSitePage looks for the
keyword "template" in the Path information and if it finds it will
reset the screen using it's lookup mechanism and thereby bypass
Login.
Note that you will need to set the template.login property to the
login template.
Constructor Summary | |
TemplateSecureSessionValidator()
|
Method Summary | |
void |
doPerform(RunData data)
Execute the action. |
boolean |
requiresNewSession(RunData data)
By default, this is true. |
Methods inherited from class org.apache.turbine.modules.Action |
perform |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public TemplateSecureSessionValidator()
Method Detail |
public void doPerform(RunData data) throws java.lang.Exception
doPerform
in class Action
data
- Turbine information.Exception,
- a generic exception.public boolean requiresNewSession(RunData data)
requiresNewSession
in class SessionValidator
data
- Turbine information.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |