org.apache.jetspeed.modules.actions
Class JAASSessionValidator
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
org.apache.jetspeed.modules.actions.JAASSessionValidator
- public class JAASSessionValidator
- extends TemplateSessionValidator
JAAS Session validator populates the Jetspeed User via the servlet.getUserPrincipal() call
When using this session validator, Authentication is delegated to the Application Server.
Recommend disabling all user login functionality via Jetspeed, and using your web.xml
to protect access to all Jetspeed resources (place after resource-ref or welcome-file-list:
Jetspeed Security
Protected Area
/*
DELETE
GET
POST
PUT
user
admin
BASIC
Jetspeed BASIC Authentication
admin
user
guest
Place the following the the servlet element where the Turbine servlet is defined:
user
user
admin
admin
guest
guest
- Version:
- $Id: JAASSessionValidator.java,v 1.3 2004/08/12 17:38:30 taylor Exp $
- Author:
- David Sean Taylor, Jeremy Ford
Method Summary |
void |
doPerform(org.apache.turbine.util.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 |
JAASSessionValidator
public JAASSessionValidator()
doPerform
public void doPerform(org.apache.turbine.util.RunData data)
throws java.lang.Exception
- Description copied from class:
TemplateSessionValidator
- Execute the action.
- Overrides:
doPerform
in class TemplateSessionValidator
- Throws:
java.lang.Exception
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.