HI Mark,
as you set request.secret="xxx" you don't use request.useSecret="true".
With useSecret you generate a random requiredSecret,
Look at o.a.coyote.jk.common.HandlerRequest
LL 123
public void setSecret( String s ) {
requiredSecret=s;
}
public void setUseSecret( boolean b ) {
if(b) {
requiredSecret=Double.toString(Math.random());
}
}
Is request.shutdownEnabled is also true you can find
the file conf/ajp13.id with your AJP setup (s. generateAJp13Id()).
Regards
Peter
Am 01.04.2008 um 00:19 schrieb [EMAIL PROTECTED]:
Author: markt
Date: Mon Mar 31 15:19:20 2008
New Revision: 643181
URL: http://svn.apache.org/viewvc?rev=643181&view=rev
Log:
Fix bug 44715. Document use of secret for AJP connector.
Modified:
tomcat/trunk/webapps/docs/config/ajp.xml
Modified: tomcat/trunk/webapps/docs/config/ajp.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/
ajp.xml?rev=643181&r1=643180&r2=643181&view=diff
======================================================================
========
--- tomcat/trunk/webapps/docs/config/ajp.xml (original)
+++ tomcat/trunk/webapps/docs/config/ajp.xml Mon Mar 31 15:19:20 2008
@@ -274,6 +274,18 @@
to a particular port number on a particular IP address.</p>
</attribute>
+ <attribute name="request.secret" required="false">
+ <p>Only requests from workers with this secret keyword will
be accepted.
+ This attribute only has an effect if
<code>request.useSecret</code> is
+ <code>true</code>.</p>
+ </attribute>
+
+ <attribute name="request.useSecret" required="false">
+ <p>If set to <code>true</code>, then only requests from
workers with the
+ same secret keyword will be accepted. This is set to
<code>false</code>
+ by default.</p>
+ </attribute>
+
<attribute name="tcpNoDelay" required="false">
<p>If set to <code>true</code>, the TCP_NO_DELAY option will be
set on the server socket, which improves performance under most
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]