tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/request FixHeaders.java SessionInterceptor.java
Date Wed, 16 Feb 2000 06:44:12 GMT
costin      00/02/15 22:44:12

  Modified:    src/share/org/apache/tomcat/core
                        RequestSecurityProvider.java
               src/share/org/apache/tomcat/request FixHeaders.java
                        SessionInterceptor.java
  Log:
  Broken build, fixed it.
  
  Revision  Changes    Path
  1.4       +8 -3      jakarta-tomcat/src/share/org/apache/tomcat/core/RequestSecurityProvider.java
  
  Index: RequestSecurityProvider.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/RequestSecurityProvider.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RequestSecurityProvider.java	2000/02/14 04:59:39	1.3
  +++ RequestSecurityProvider.java	2000/02/16 06:44:11	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/RequestSecurityProvider.java,v
1.3 2000/02/14 04:59:39 costin Exp $
  - * $Revision: 1.3 $
  - * $Date: 2000/02/14 04:59:39 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/RequestSecurityProvider.java,v
1.4 2000/02/16 06:44:11 costin Exp $
  + * $Revision: 1.4 $
  + * $Date: 2000/02/16 06:44:11 $
    *
    * ====================================================================
    *
  @@ -71,6 +71,7 @@
   /**
    * 
    * @author Harish Prabandham
  + * @deprecated Will be removed after security is implemented in tomcat
    */
   
   //
  @@ -78,11 +79,15 @@
   // Please talk to harishp@eng.sun.com before making any changes.
   //
   public interface RequestSecurityProvider {
  +    // Will require a sub-request if role is not
  +    // one of the roles in security-constraints
       public boolean isUserInRole(Context context,
           HttpServletRequest req, String role);
   
  +    // Set by Security interceptors
       public java.security.Principal getUserPrincipal(
           Context context, HttpServletRequest req);
   
  +    // Flag set by request adapter
       public boolean isSecure(Context context, HttpServletRequest req);
   }
  
  
  
  1.5       +0 -1      jakarta-tomcat/src/share/org/apache/tomcat/request/FixHeaders.java
  
  Index: FixHeaders.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/request/FixHeaders.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- FixHeaders.java	2000/02/11 02:21:47	1.4
  +++ FixHeaders.java	2000/02/16 06:44:12	1.5
  @@ -74,7 +74,6 @@
   public class FixHeaders extends  BaseInterceptor implements RequestInterceptor {
       
       public FixHeaders() {
  -	methods.addElement("beforeBody");
       }
   	
       public int beforeBody( Request request, Response response ) {
  
  
  
  1.10      +0 -2      jakarta-tomcat/src/share/org/apache/tomcat/request/SessionInterceptor.java
  
  Index: SessionInterceptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/request/SessionInterceptor.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- SessionInterceptor.java	2000/02/13 20:49:43	1.9
  +++ SessionInterceptor.java	2000/02/16 06:44:12	1.10
  @@ -79,8 +79,6 @@
   public class SessionInterceptor extends  BaseInterceptor implements RequestInterceptor
{
       
       public SessionInterceptor() {
  -	methods.addElement("requestMap");
  -	methods.addElement("beforeBody");
       }
   	
       public int requestMap(Request request ) {
  
  
  

Mime
View raw message