You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jo...@apache.org on 2001/08/09 08:36:29 UTC

cvs commit: jakarta-turbine/src/java/org/apache/turbine/modules/screens TemplateSecureScreen.java

jon         01/08/08 23:36:29

  Modified:    .        build.xml
               src/java/org/apache/turbine/modules/screens
                        TemplateSecureScreen.java
  Log:
  fixed some javadoc
  added the tool section to the .jar file (jason, not sure if this is what
  you wanted long term, but i need it for now at least...)
  
  Revision  Changes    Path
  1.2       +12 -3     jakarta-turbine/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	2001/08/01 16:37:41	1.1
  +++ build.xml	2001/08/09 06:36:28	1.2
  @@ -15,10 +15,13 @@
   
     <property name="build.src" value="${build.dir}/src"/>
     <property name="build.dest" value="${build.dir}/classes"/>
  -  <property name="src.java.dir" value="${src.dir}/java"/>
  -  <property name="src.test.dir" value="${src.dir}/test"/>
  +
     <property name="src.adapter.dir" value="${src.dir}/adapter"/>
     <property name="src.dtd.dir" value="${src.dir}/dtd"/>
  +  <property name="src.java.dir" value="${src.dir}/java"/>
  +  <property name="src.test.dir" value="${src.dir}/test"/>
  +  <property name="src.tool.dir" value="${src.dir}/tool"/>
  +
     <property name="final.name" value="${project}-${version}"/>
     <property name="final.dir" value="../${final.name}/"/>
   
  @@ -96,7 +99,13 @@
           <exclude name="**/SelectorBox.java" unless="ecs.present"/>
         </fileset>
       </copy>
  -        
  +
  +    <!-- We will control this with a property eventually -->
  +    <copy todir="${build.src}/org" filtering="yes">
  +      <fileset dir="${src.tool.dir}/org">
  +      </fileset>
  +    </copy>
  +
       <available 
         classname="org.apache.velocity.anakia.AnakiaTask"
         property="AnakiaTask.present"/>
  
  
  
  1.5       +2 -3      jakarta-turbine/src/java/org/apache/turbine/modules/screens/TemplateSecureScreen.java
  
  Index: TemplateSecureScreen.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/src/java/org/apache/turbine/modules/screens/TemplateSecureScreen.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TemplateSecureScreen.java	2001/08/01 15:44:23	1.4
  +++ TemplateSecureScreen.java	2001/08/09 06:36:29	1.5
  @@ -69,7 +69,7 @@
    * your base screen.
    *
    * @author <a href="mailto:mbryson@mont.mindspring.com">Dave Bryson</a>
  - * @version $Id: TemplateSecureScreen.java,v 1.4 2001/08/01 15:44:23 jvanzyl Exp $
  + * @version $Id: TemplateSecureScreen.java,v 1.5 2001/08/09 06:36:29 jon Exp $
    */
   public abstract class TemplateSecureScreen 
       extends TemplateScreen
  @@ -93,8 +93,7 @@
       /**
        * Implement this method to perform the security check needed.
        * You should set the template in this method that you want the
  -     * user to be sent to if they're unauthorized. See the
  -     * WebMacroSecuritCheck utility.
  +     * user to be sent to if they're unauthorized.
        *
        * @param data Turbine information.
        * @return True if the user is authorized to access the screen.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org