You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2020/11/17 12:45:42 UTC

[tomee-tck] 02/06: Add header trailers and remove lock down realm for the servlet TCK

This is an automated email from the ASF dual-hosted git repository.

jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git

commit 0b6c640b8a9f9ca4e086ab237b32e6621688c7b0
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Tue Nov 17 12:07:20 2020 +0100

    Add header trailers and remove lock down realm for the servlet TCK
---
 src/test/tomee-plume/conf/server.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/test/tomee-plume/conf/server.xml b/src/test/tomee-plume/conf/server.xml
index 12f0f16..554c927 100644
--- a/src/test/tomee-plume/conf/server.xml
+++ b/src/test/tomee-plume/conf/server.xml
@@ -70,6 +70,7 @@
     -->
     <Connector port="%webcontainer.default.port%" protocol="HTTP/1.1"
                connectionTimeout="20000"
+               allowedTrailerHeaders="myTrailer, myTrailer2"
                redirectPort="%webcontainer.default.ssl.port%">
       <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
     </Connector>
@@ -116,14 +117,14 @@
 
       <!-- Use the LockOutRealm to prevent attempts to guess user passwords
            via a brute-force attack -->
-      <Realm className="org.apache.catalina.realm.LockOutRealm">
+      <!--Realm className="org.apache.catalina.realm.LockOutRealm"-->
         <!-- This Realm uses the UserDatabase configured in the global JNDI
              resources under the key "UserDatabase".  Any edits
              that are performed against this UserDatabase are immediately
              available for use by the Realm.  -->
         <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
                resourceName="UserDatabase"/>
-      </Realm>
+      <!--/Realm-->
 
       <Host name="localhost" appBase="webapps"
             unpackWARs="true" autoDeploy="true">