Author: jfrederic.clere(a)jboss.com
Date: 2012-08-08 12:26:10 -0400 (Wed, 08 Aug 2012)
New Revision: 2058
Modified:
branches/7.0.x/java/org/apache/coyote/ajp/AjpAprProcessor.java
branches/7.0.x/java/org/apache/coyote/ajp/AjpProtocol.java
Log:
Fix for AS7-1581.
Modified: branches/7.0.x/java/org/apache/coyote/ajp/AjpAprProcessor.java
===================================================================
--- branches/7.0.x/java/org/apache/coyote/ajp/AjpAprProcessor.java 2012-08-06 16:37:53 UTC
(rev 2057)
+++ branches/7.0.x/java/org/apache/coyote/ajp/AjpAprProcessor.java 2012-08-08 16:26:10 UTC
(rev 2058)
@@ -329,7 +329,8 @@
/**
* Use Tomcat authentication ?
*/
- protected boolean tomcatAuthentication = true;
+ protected boolean tomcatAuthentication =
+
Boolean.valueOf(System.getProperty("org.apache.coyote.ajp.AprProcessor.TOMCATAUTHENTICATION",
"true")).booleanValue();
public boolean getTomcatAuthentication() { return tomcatAuthentication; }
public void setTomcatAuthentication(boolean tomcatAuthentication) {
this.tomcatAuthentication = tomcatAuthentication; }
Modified: branches/7.0.x/java/org/apache/coyote/ajp/AjpProtocol.java
===================================================================
--- branches/7.0.x/java/org/apache/coyote/ajp/AjpProtocol.java 2012-08-06 16:37:53 UTC
(rev 2057)
+++ branches/7.0.x/java/org/apache/coyote/ajp/AjpProtocol.java 2012-08-08 16:26:10 UTC
(rev 2058)
@@ -319,7 +319,8 @@
* Should authentication be done in the native webserver layer,
* or in the Servlet container ?
*/
- protected boolean tomcatAuthentication = true;
+ protected boolean tomcatAuthentication =
+
Boolean.valueOf(System.getProperty("org.apache.coyote.ajp.AprProcessor.TOMCATAUTHENTICATION",
"true")).booleanValue();
public boolean getTomcatAuthentication() { return tomcatAuthentication; }
public void setTomcatAuthentication(boolean tomcatAuthentication) {
this.tomcatAuthentication = tomcatAuthentication; }
Show replies by date