Class GeoParserConfig.RuntimeConfig

java.lang.Object
org.apache.tika.parser.geo.topic.GeoParserConfig
org.apache.tika.parser.geo.topic.GeoParserConfig.RuntimeConfig
All Implemented Interfaces:
Serializable
Enclosing class:
GeoParserConfig

public static class GeoParserConfig.RuntimeConfig extends GeoParserConfig
RuntimeConfig blocks modification of security-sensitive URL/path fields at runtime. When a config is obtained from ParseContext (i.e. user-provided at parse time), it should be deserialized as a RuntimeConfig to prevent URL/path injection.

This class is deserialized by ConfigDeserializer (in tika-serialization) which uses Jackson to populate fields via setters. If the JSON contains any URL/path fields, the overridden setters will throw TikaConfigException.

See Also: