billbarker 2002/11/15 21:05:42 Modified: catalina/src/share/org/apache/catalina/authenticator AuthenticatorBase.java Log: Porting attribute name change. Revision Changes Path 1.5 +10 -10 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.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- AuthenticatorBase.java 13 Nov 2002 06:10:38 -0000 1.4 +++ AuthenticatorBase.java 16 Nov 2002 05:05:42 -0000 1.5 @@ -198,7 +198,7 @@ * Flag to determine if we disable proxy caching, or leave the issue * up to the webapp developer. */ - protected boolean noProxyCaching = true; + protected boolean disableProxyCaching = true; /** * The lifecycle event support for this component. @@ -397,8 +397,8 @@ * Return the flag that states if we add headers to disable caching by * proxies. */ - public boolean getNoProxyCaching() { - return noProxyCaching; + public boolean getDisableProxyCaching() { + return disableProxyCaching; } /** @@ -407,8 +407,8 @@ * @param nocache <code>true</code> if we add headers to disable proxy * caching, <code>false</code> if we leave the headers alone. */ - public void setNoProxyCaching(boolean nocache) { - noProxyCaching = nocache; + public void setDisableProxyCaching(boolean nocache) { + disableProxyCaching = nocache; } // --------------------------------------------------------- Public Methods @@ -501,7 +501,7 @@ // Make sure that constrained resources are not cached by web proxies // or browsers as caching can provide a security hole - if (noProxyCaching && + if (disableProxyCaching && !(((HttpServletRequest) hrequest.getRequest()).isSecure())) { HttpServletResponse sresponse = (HttpServletResponse) response.getResponse();
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>