You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jm...@apache.org on 2002/06/23 00:51:13 UTC
cvs commit: jakarta-turbine-3/src/java/org/apache/turbine/modules/actions NullSessionValidator.java
jmcnally 2002/06/22 15:51:12
Modified: src/java/org/apache/turbine/modules/actions
NullSessionValidator.java
Log:
patch by Brian Leonard <br...@brainslug.org>
The comments say:
* This session validator does nothing and allows a view that
* doesn't require any security.
which doesn't match what the code actually does. Here's a patch that
makes it do nothing.
Revision Changes Path
1.3 +1 -3 jakarta-turbine-3/src/java/org/apache/turbine/modules/actions/NullSessionValidator.java
Index: NullSessionValidator.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-3/src/java/org/apache/turbine/modules/actions/NullSessionValidator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NullSessionValidator.java 20 Mar 2002 01:55:28 -0000 1.2
+++ NullSessionValidator.java 22 Jun 2002 22:51:12 -0000 1.3
@@ -76,7 +76,5 @@
public void doPerform(RunData data)
throws Exception
{
- data.setTarget(Turbine.getConfiguration().getString(
- Turbine.TEMPLATE_HOMEPAGE));
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>