NamedConfiguration class

Provides the named configuration facility for CSI.

Syntax

public class NamedConfiguration

Remarks

This configuration provider can be used to retrieve configuration data from two different sources in various combinations:

  • A file on the filesystem
  • A java.util.Properties object specified programmatically
The Properties object overrides those values loaded from the file.

System properties may be used to alter the default behavior when the class is instantiated, or the values may be modified programmatically. The system property "com.sybase.security.core.NamedConfiguration.ConfigurationProvider" determines the configuration provider that is delegated the task of retrieving the desired configuration file. The specified configuration provider must implement the interface CompatibleConfiguration. By default the XmlConfiguration provider is used.

System property values may be embedded into any provider option values included in the configuration file. Properties are referenced using the format ${system.property.name}.