According to the Tomcat7 docs, I can add a valve to prevent access to the Tomcat Manager app except from localhost:
<Context privileged="true">
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.0\.0\.1"/>
</Context>
The docs are not so helpful in explaining where that snippet of XML is supposed to go.
Can someone help me with this, please?