You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by do...@apache.org on 2002/02/08 02:54:39 UTC

cvs commit: jakarta-turbine-3/src/java/org/apache/turbine/modules Module.java SecureModule.java

dobbs       02/02/07 17:54:39

  Modified:    src/java/org/apache/turbine/modules Tag:
                        rundata_security_changes Module.java
                        SecureModule.java
  Log:
  javadoc enhancements
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.1   +2 -2      jakarta-turbine-3/src/java/org/apache/turbine/modules/Module.java
  
  Index: Module.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-3/src/java/org/apache/turbine/modules/Module.java,v
  retrieving revision 1.7
  retrieving revision 1.7.2.1
  diff -u -r1.7 -r1.7.2.1
  --- Module.java	15 Jan 2002 01:54:24 -0000	1.7
  +++ Module.java	8 Feb 2002 01:54:39 -0000	1.7.2.1
  @@ -76,7 +76,7 @@
    * the classic pattern.</p>
    *
    * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
  - * @version $Id: Module.java,v 1.7 2002/01/15 01:54:24 dlr Exp $
  + * @version $Id: Module.java,v 1.7.2.1 2002/02/08 01:54:39 dobbs Exp $
    */
   public class Module
   {
  @@ -99,7 +99,7 @@
       /**
        * Subclasses can override this method to add additional
        * functionality.  This method is protected to force clients to
  -     * use LayoutLoader to build a Layout.
  +     * use ModuleLoader to build a Module.
        *
        * @param data Turbine information.
        * @exception Exception a generic exception.
  
  
  
  1.1.1.1.2.1 +4 -4      jakarta-turbine-3/src/java/org/apache/turbine/modules/SecureModule.java
  
  Index: SecureModule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-3/src/java/org/apache/turbine/modules/SecureModule.java,v
  retrieving revision 1.1.1.1
  retrieving revision 1.1.1.1.2.1
  diff -u -r1.1.1.1 -r1.1.1.1.2.1
  --- SecureModule.java	16 Aug 2001 04:41:35 -0000	1.1.1.1
  +++ SecureModule.java	8 Feb 2002 01:54:39 -0000	1.1.1.1.2.1
  @@ -58,7 +58,7 @@
   import org.apache.turbine.TemplateContext;
   
   /**
  - * VelocitySecureScreen
  + * Secure Module
    *
    * Always performs a Security Check that you've defined before
    * executing the doBuildtemplate().  You should extend this class and
  @@ -69,14 +69,14 @@
    * your base screen.
    *
    * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
  - * @version $Id: SecureModule.java,v 1.1.1.1 2001/08/16 04:41:35 jvanzyl Exp $
  + * @version $Id: SecureModule.java,v 1.1.1.1.2.1 2002/02/08 01:54:39 dobbs Exp $
    */
   public abstract class SecureModule
       extends Module
   {
       /**
  -     * This method overrides the method in WebMacroSiteScreen to
  -     * perform a security check first.
  +     * Performs a security check before executing doBuildTemplate().
  +     * Fails silently if isAuthorized() returns false.
        *
        * @param data Turbine information.
        * @exception Exception, a generic exception.
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>