remm        2005/04/18 14:47:17

  Modified:    catalina/src/share/org/apache/catalina/authenticator
                        AuthenticatorBase.java
  Log:
  - Since my previous comments are being ignored, I am making the necessary 
changes.
  
  Revision  Changes    Path
  1.27      +7 -7      
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java
  
  Index: AuthenticatorBase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- AuthenticatorBase.java    18 Apr 2005 20:21:57 -0000      1.26
  +++ AuthenticatorBase.java    18 Apr 2005 21:47:17 -0000      1.27
  @@ -147,7 +147,7 @@
        * Flag to determine if we disable proxy caching with headers compatible
        * with IE 
        */
  -    protected boolean IECompatibleProxyCacheDisableHeaders = true;
  +    protected boolean securePaggesAsPrivate = false;
       
       /**
        * The lifecycle event support for this component.
  @@ -350,8 +350,8 @@
        * Return the flag that states, if proxy caching is disabled, what 
headers
        * we add to disable the caching.  
        */
  -    public boolean getIECompatibleProxyCacheDisableHeaders() {
  -        return IECompatibleProxyCacheDisableHeaders;
  +    public boolean getSecurePaggesAsPrivate() {
  +        return securePaggesAsPrivate;
       }
   
       /**
  @@ -361,8 +361,8 @@
        * generally compatible, <code>false</code> if add headers which aren't
        * known to be compatible.
        */
  -    public void setIECompatibleProxyCacheDisableHeaders(boolean compatible) {
  -        IECompatibleProxyCacheDisableHeaders = compatible;
  +    public void setSecurePaggesAsPrivate(boolean securePaggesAsPrivate) {
  +        this.securePaggesAsPrivate = securePaggesAsPrivate;
       }    
   
       // --------------------------------------------------------- Public 
Methods
  @@ -440,7 +440,7 @@
               // (improper caching issue)
               //!request.isSecure() &&
               !"POST".equalsIgnoreCase(request.getMethod())) {
  -            if (IECompatibleProxyCacheDisableHeaders) {
  +            if (securePaggesAsPrivate) {
                 //this is the standard way to disable caching
                 response.setHeader("Cache-Control", "private");
               } else {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to