Class LibPstParserConfig.RuntimeConfig

java.lang.Object
org.apache.tika.parser.microsoft.libpst.LibPstParserConfig
org.apache.tika.parser.microsoft.libpst.LibPstParserConfig.RuntimeConfig
All Implemented Interfaces:
Serializable
Enclosing class:
LibPstParserConfig

public static class LibPstParserConfig.RuntimeConfig extends LibPstParserConfig
RuntimeConfig blocks modification of security-sensitive 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 path injection.

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

See Also: