You are here

Extension classpath

The file can only be used to define properties that are global to the whole system. You can also control the properties of subsystems that may have multiple instances, for example, the Authentication subsystems. To do this, you need to target different values for the same properties, to each subsystem instance. You can use the extension classpath mechanism.
  1. Add a property file to your application server's global classpath.

    For example, under $TOMCAT_HOME/shared/classes.

  2. Create the path to match the following pattern to override specific properties of a subsystem instance:

    The <id> is the subsystem instance identifier, which will be default for single instance subsystems, or the provided identifier for chained subsystems.
For example, if your authentication chain looked like this:

Then you could put property overrides for alfrescoNtlm1 in the following file:


The default type and ID of non-chained subsystems is default, so you could put overrides for file server properties in the following file: