org.cougaar.lib.web.tomcat |
|
Java Source File Name | Type | Comment |
AuthValve.java | Class | A Valve for Tomcat 4.0 that will use
org.cougaar.core.security.acl.auth.DualAuthenticator if it
exists and the System property
org.cougaar.lib.web.tomcat.enableAuth
is "true".
The server.xml should have within the <Context> section:
<Valve className="org.cougaar.lib.web.tomcat.AuthValve" realmName="Cougaar" authMethod="DIGEST"/>
Where realmName is the realm to use for authenticating users and
authMethod is the secondary method for authentication. |
EmbeddedTomcat.java | Class | This class wraps the org.apache.catalina.startup.Catalina class to
follow similar behavior as Tomcat 3.3's EmbededTomcat class. |
ErrorServlet.java | Class | A simple error servlet for PAGE-NOT-FOUND messages.
This allows the ServletEngine to display custom
error messages with a 404 error-code.
NOTE: Tomcat 4+ encodes the error message, which prevents
the servlet from embedding HTML in the error response. |
HookServlet.java | Class | Servlet that is loaded by both TomcatServletEngine
and Tomcat itself -- this is used to delegate requests within
Tomcat back into the (launching) TomcatServletEngine's
"gateway" Servlet.
This kluge depends upon a static variable, which means that
only one TomcatServletEngine can run at a time. |
HookServletFront.java | Class | This class is designed to load
org.cougaar.core.security.acl.auth.SecureHookServlet if it
exists and the System property
org.cougaar.lib.web.tomcat.enableAuth
is "true". |
SecureContext.java | Class | A Tomcat Context which will inform the security services
of its creation if the security services exist and the
System property
org.cougaar.lib.web.tomcat.enableAuth
is "true". |
SecureRealm.java | Class | A Realm extension for Tomcat 4.0 that will use
org.cougaar.core.security.crypto.ldap.KeyRingJNDIRealm if it
exists and the System property
org.cougaar.lib.web.tomcat.enableAuth
is "true". |
TomcatServletEngine.java | Class | This component is a Tomcat 4.0.3 -based implementation of the
org.cougaar.lib.web.engine.ServletEngineService . |