For secure sites, tomcat servers are required to have RECYCLE_FACADES enabled
Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-223002 | TCAT-AS-001660 | SV-223002r615938_rule | Low |
STRICT_SERVLET_COMPLIANCE must be set to true. (stigviewer.com)
Rule Title: RECYCLE_FACADES must be set to true.
Release : 20.2
Component : Spectrum OneClick
The tomcat STIG cases will be evaluated for the Q4CY21 NetOps release. In the meantime provided manual steps to enable RECYCLE_FACADES mode on tomcat.
Note: Enabling this configuration will have some impact on Spectrum Webserver Performance. By default, this value is considered false and generally, Tomcat will recycle
and reuse facade objects between requests (essentially replacing the object's fields and reusing it, instead of letting it be cleaned by the GC). This might have some
implications on information exchange between requests. If this is set to true or if a security manager is in use a new facade object will be created for each request.
The primary disadvantage of setting org.apache.catalina.connector.RECYCLE_FACADES=true is performance.
1) Edit: $SPECROOT/tomcat/conf/catalina.properties
Add: org.apache.catalina.connector.RECYCLE_FACADES=true
2) Restart tomcat
cd $SPECROOT/tomcat/bin/
./stopTomcat.sh
./startTomcat.sh