git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729206
13f79535-47bb-0310-9956-
ffa450edef68
protected static StringManager sm =
StringManager.getManager(Constants.Package);
+ protected static boolean isSecurityEnabled =
+ org.apache.coyote.Constants.IS_SECURITY_ENABLED;
// ------------------------------------------------------------ Constructor
// Add date header
String date = null;
- if (org.apache.coyote.Constants.IS_SECURITY_ENABLED){
+ if (isSecurityEnabled){
date = AccessController.doPrivileged(
new PrivilegedAction<String>() {
public String run(){