Package Name | Comment |
org.apache.catalina | |
org.apache.catalina.ant |
This package contains a set of Task implementations for
Ant (version 1.4 or later) that can be used to interact with the
Manager application to install, reload, and remove web applications from
a running instance of Tomcat. For more information, see
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html.
The attributes of each task element correspond
exactly to the request parameters that are included with an HTTP request
sent directly to the Manager application. They are summarized as follows:
Attribute |
Description |
url |
The URL of the Manager web application you will use to
perform the requested operations. If not specified, defaults to
http://localhost:8080/manager (which corresponds
to a standard installation of Tomcat 5).
|
username |
The username of a Tomcat user that has been configured with the
manager role, as required to execute Manager
application commands. This attribute is required.
|
password |
The password of a Tomcat user that has been configured with the
manager role, as required to execute Manager
application commands. This attribute is required.
|
config |
A URL pointing at the context configuration file (i.e. a file
containing only the <Context> element, and
its nested elements, from server.xml for a particular
web application). This attribute is supported only on the
install target, and is required only if you wish to
install an application with non-default configuration characteristics.
|
path |
The context path (including the leading slash) of the web application
this command is intended to manage, or a zero-length string for the
ROOT web application. This attribute is valid for the
install , reload , remove ,
start , and stop tasks only, and is
required in all of those cases.
|
war |
A jar: URL that points at a web application archive (WAR)
file, or a file: URL that points at an unpacked directory
containing the web application. This attribute is supported only on
the install target. You must specify at least one of the
config and war attributes; if you specify
both, the war attribute overrides the docBase
attribute in the context configuration file.
|
NOTE - Commands executed through the Manager
application are NOT reflected in updates to the Tomcat
server.xml configuration file, so they do not persist past the
next time you restart the entire Tomcat container.
|
org.apache.catalina.authenticator |
This package contains Authenticator implementations for the
various supported authentication methods (BASIC, DIGEST, and FORM). In
addition, there is a convenience base class,
AuthenticatorBase , for customized Authenticator
implementations.
If you are using the standard context configuration class
(org.apache.catalina.startup.ContextConfig ) to configure the
Authenticator associated with a particular context, you can register the Java
class to be used for each possible authentication method by modifying the
following Properties file:
src/share/org/apache/catalina/startup/Authenticators.properties
Each of the standard implementations extends a common base class
(AuthenticatorBase ), which is configured by setting the
following JavaBeans properties (with default values in square brackets):
- cache - Should we cache authenticated Principals (thus avoiding
per-request lookups in our underyling
Realm ) if this request
is part of an HTTP session? [true]
- debug - Debugging detail level for this component. [0]
The standard authentication methods that are currently provided include:
- BasicAuthenticator - Implements HTTP BASIC authentication, as
described in RFC 2617.
- DigestAuthenticator - Implements HTTP DIGEST authentication, as
described in RFC 2617.
- FormAuthenticator - Implements FORM-BASED authentication, as
described in the Servlet API Specification, version 2.2.
|
org.apache.catalina.connector | |
org.apache.catalina.core | |
org.apache.catalina.deploy |
This package contains Java objects that represent complex data structures
from the web application deployment descriptor file (web.xml ).
It is assumed that these objects will be initialized within the context of
a single thread, and then referenced in a read-only manner subsequent to that
time. Therefore, no multi-thread synchronization is utilized within the
implementation classes.
|
org.apache.catalina.launcher | |
org.apache.catalina.loader | |
org.apache.catalina.logger | |
org.apache.catalina.mbeans | |
org.apache.catalina.net | |
org.apache.catalina.realm |
This package contains Realm implementations for the
various supported realm technologies for authenticating users and
identifying their associated roles. The Realm that is
associated with a web application's Context (or a hierarchically
superior Container) is used to resolve authentication and role presence
questions when a web application uses container managed security as described
in the Servlet API Specification, version 2.2.
The implementations share a common base class that supports basic
functionality for all of the standard Realm implementations,
and can be configured by setting the following properties (default values
are in square brackets):
- debug - Debugging detail level for this component. [0]
The standard Realm implementations that are currently
available include the following (with additional configuration properties
as specified):
- JDBCRealm - Implementation of
Realm that operates
from data stored in a relational database that is accessed via a JDBC
driver. The name of the driver, database connection information, and
the names of the relevant tables and columns are configured with the
following additional properties:
- connectionURL - The URL to use when connecting to this database.
[REQUIRED - NO DEFAULT]
- driverName - Fully qualified Java class name of the JDBC driver
to be used. [REQUIRED - NO DEFAULT]
- roleNameCol - Name of the database column that contains role
names. [REQUIRED - NO DEFAULT]
- userCredCol - Name of the database column that contains the
user's credentials (i.e. password) in cleartext. [REQUIRED -
NO DEFAULT]
- userNameCol - Name of the database column that contains the
user's logon username. [REQUIRED - NO DEFAULT]
- userRoleTable - Name of the database table containing user
role information. This table must include the columns specified by
the
userNameCol and roleNameCol properties.
[REQUIRED - NO DEFAULT]
- userTable - Name of the database table containing user
information. This table must include the columns specified by the
userNameCol and userCredCol properties.
[REQUIRED - NO DEFAULT]
- MemoryRealm - Implementation of
Realm that uses the
contents of a simple XML file (conf/tomcat-users.xml ) as the
list of valid users and their roles. This implementation is primarily to
demonstrate that the authentication technology functions correctly, and is
not anticipated as adequate for general purpose use. This component
supports the following additional properties:
- pathname - Pathname of the XML file containing our user and
role information. If a relative pathname is specified, it is resolved
against the pathname specified by the "catalina.home" system property.
[conf/tomcat-users.xml]
|
org.apache.catalina.security | |
org.apache.catalina.servlets |
This package contains Servlets that implement some of the
standard functionality provided by the Catalina servlet container. Because
these servlets are in the org.apache.catalina package hierarchy,
they are in the privileged position of being able to reference internal server
data structures, which application level servlets are prevented from
accessing (by the application class loader implementation).
To the extent that these servlets depend upon internal Catalina data
structures, they are obviously not portable to other servlet container
environments. However, they can be used as models for creating application
level servlets that provide similar capabilities -- most obviously the
DefaultServlet implementation, which
serves static resources when Catalina runs stand-alone.
|
org.apache.catalina.session |
This package contains the standard Manager and
Session implementations that represent the collection of
active sessions and the individual sessions themselves, respectively,
that are associated with a Context . Additional implementations
of the Manager interface can be based upon the supplied
convenience base class (ManagerBase ), if desired. Different
implementations of Session are possible, but a need for
functionality beyond what is provided by the standard implementation
(StandardSession ) is not expected.
The convenience ManagerBase base class is configured by
setting the following properties:
- algorithm - Message digest algorithm to be used when
generating session identifiers. This must be the name of an
algorithm supported by the
java.security.MessageDigest
class on your platform. [DEFAULT_ALGORITHM]
- debug - Debugging detail level for this component. [0]
- distributable - Has the web application we are associated with
been marked as "distributable"? If it has, attempts to add or replace
a session attribute object that does not implement the
java.io.Serializable interface will be rejected.
[false]
- entropy - A string initialization parameter that is used to
increase the entropy of the seeding of the random number generator
used in creation of session identifiers. [NONE]
- maxInactiveInterval - The default maximum inactive interval,
in minutes, for sessions created by this Manager. The standard
implementation automatically updates this value based on the configuration
settings in the web application deployment descriptor. [60]
- randomClass - The Java class name of the random number generator
to be used when creating session identifiers for this Manager.
[java.security.SecureRandom]
The standard implementation of the Manager interface
(StandardManager ) supports the following additional configuration
properties:
- checkInterval - The interval, in seconds, between checks for
sessions that have expired and should be invalidated. [60]
- maxActiveSessions - The maximum number of active sessions that
will be allowed, or -1 for no limit. [-1]
- pathname - Pathname to the file that is used to store session
data persistently across container restarts. If this pathname is relative,
it is resolved against the temporary working directory provided by our
associated Context, if any. ["sessions.ser"]
|
org.apache.catalina.ssi |
This package contains code that is used by the SsiInvoker.
This class consists of SsiMediator.java which works as a
mediator between the different SsiCommands. To add a command you have to
implement the SsiCommand interface and extend the
SsiMediator . Commands currently implemented are
- SsiConfig - Implementation of the NCSA command Config i.e. <!--#config errmsg="error?"-->
- SsiEcho - Implementation of the NCSA command Echo i.e. <!--#echo var="SERVER_NAME"-->
- SsiExec - Not implemented
- SsiFlastMod - Implementation of the NCSA command flastmod i.e. <!--#flastmod virtual="file"-->
- SsiFsize - Implementation of the NCSA command fsize i.e. <!--#fsize file="file"-->
- SsiInclude - Implementation of the NCSA command Include i.e. <!--#config virtual="includefile"-->
|
org.apache.catalina.startup | |
org.apache.catalina.users | |
org.apache.catalina.util | |
org.apache.catalina.valves |
This package contains a variety of small Valve implementations that do
not warrant being packaged separately. In addition, there is a convenience
base class (ValveBase ) that supports the usual mechanisms for
including custom Valves into the corresponding Pipeline.
Other packages that include Valves include
org.apache.tomcat.logger and
org.apache.tomcat.security .
|
org.apache.coyote.tomcat5 | |
org.apache.naming |
This package contains a memory based naming service provider.
|
org.apache.naming.factory |
This package contains object factories used by the naming service.
|
org.apache.naming.java |
This package contains the URL context factory for the "java" namespace.
|
org.apache.naming.resources |
This package contains the resources directory context implemetation.
This includes :
- A CacheDirContext which handles caching and acts as a proxy for the real
resources context
- A FileDirContext, an implementation of DirContext to access the
filesystem
|
org.apache.naming.resources.jndi | |
task | |