This document details how to protect a Tomcat web application using SiteMinder.
The document assumes the reader is already experienced in the setup and configuration of SiteMinder Web Agents.
The method described in this document involves using an Apache Web server and Tomcat connector to serve as a proxy for Tomcat.
LoadModule jk_module " [Full path and name of the tomcat connector] "
JkWorkersFile "[Root folder of tomcat installation] /conf/workers.properties"
JkLogFile " [Full path and name of the logfile to use] "
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount / [application name] smworker
JkMount / [application name] /* smworker
JkMount /example smworker
JkMount /example/* smworker
# Define 1 real worker named smworker
worker.list=smworker
# Set properties for worker named smworker to use ajp13 protocol,
# and run on port 8009
worker.ajp13.type=ajp13
worker.ajp13.host=localhost
worker.ajp13.port=8009
worker.ajp13.lbfactor=50
worker.ajp13.cachesize=10
worker.ajp13.cache_timeout=600
worker.ajp13.socket_keepalive=1
worker.ajp13.socket_timeout=300
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
apache -k install
apache -k start