XmlConfiguration class

Provides the standard XML-based configuration facility for CSI.

Syntax

public class XmlConfiguration

Remarks

This configuration provider can use configuration data from three different sources in various combinations:

  • A file on the filesystem
  • A resource loaded from the classpath
  • A java.util.Properties object specified programmatically
Loading from a file and resource are each mutually exclusive. The Properties object overrides those values loaded from either the file or resource.

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.XmlConfiguration.XmlValidation" determines if the input XML configuration should be validated against the XML schema definition. It must either be unspecified or must be set to "true" or "false". If it is unspecified then the XML configuration file is not validated against the schema.

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}.