You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2001/10/13 01:49:01 UTC

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina Context.java

remm        01/10/12 16:49:01

  Modified:    catalina/src/share/org/apache/catalina Tag: tomcat_40_branch
                        Context.java
  Log:
  - Add a new privileged flag to the context.
  - ContainerServlet loading will fail if they are loaded by a non-privileged
    context, with the exception of the invoker servlet.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.17.2.1  +20 -5     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Context.java
  
  Index: Context.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Context.java,v
  retrieving revision 1.17
  retrieving revision 1.17.2.1
  diff -u -r1.17 -r1.17.2.1
  --- Context.java	2001/07/29 04:34:17	1.17
  +++ Context.java	2001/10/12 23:49:01	1.17.2.1
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Context.java,v 1.17 2001/07/29 04:34:17 craigmcc Exp $
  - * $Revision: 1.17 $
  - * $Date: 2001/07/29 04:34:17 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Context.java,v 1.17.2.1 2001/10/12 23:49:01 remm Exp $
  + * $Revision: 1.17.2.1 $
  + * $Date: 2001/10/12 23:49:01 $
    *
    * ====================================================================
    *
  @@ -96,7 +96,7 @@
    * <p>
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.17 $ $Date: 2001/07/29 04:34:17 $
  + * @version $Revision: 1.17.2.1 $ $Date: 2001/10/12 23:49:01 $
    */
   
   public interface Context extends Container {
  @@ -309,9 +309,24 @@
       /**
        * Set the override flag for this web application.
        *
  -     * @param overried The new override flag
  +     * @param override The new override flag
        */
       public void setOverride(boolean override);
  +
  +
  +    /**
  +     * Return the privileged flag for this web application.
  +     */
  +    public boolean getPrivileged();
  +
  +
  +    /**
  +     * Set the privileged flag for this web application.
  +     * 
  +     * @param privileged The new privileged flag
  +     */
  +    public void setPrivileged(boolean privileged);
  +
   
       /**
        * Return the servlet context for which this Context is a facade.