- All Implemented Interfaces:
- XStreamSecurity
- Enclosing interface:
- XStreamSecurity
public static final class XStreamSecurity.MinimalBlacklist
extends Object
implements XStreamSecurity
An instance of the XStreamSecurity interface that provides minimal
security by using the same blacklist as XStream 1.4.15. The only
reason to use this class instead of using the default behaviour
of XStream 1.4.15 is to suppress the scary warning that otherwise
appears on the message pane.
This essentially lets GATE work as it always has and allows any
types to be used as feature values within documents etc.
Note that this provides minimal security via blacklisting. If you
are using GATE in a embedded environment then you probably want to
restrict the classes further to just those you know you need. *