java.lang.Object
is.codion.common.rmi.server.WhitelistInputFilterFactory
- All Implemented Interfaces:
ObjectInputFilterFactory
A
ObjectInputFilterFactory
implementation based on a whitelist file.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyValue<Boolean>
If true then the serialization whitelist specified bySERIALIZATION_FILTER_WHITELIST
is populated with the names of all deserialized classes on server shutdown.static final PropertyValue<String>
The serialization whitelist file to use if any -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERIALIZATION_FILTER_WHITELIST
The serialization whitelist file to use if any -
SERIALIZATION_FILTER_DRYRUN
If true then the serialization whitelist specified bySERIALIZATION_FILTER_WHITELIST
is populated with the names of all deserialized classes on server shutdown. Note this overwrites the file if it already exists.
-
-
Constructor Details
-
WhitelistInputFilterFactory
public WhitelistInputFilterFactory()
-
-
Method Details
-
createObjectInputFilter
- Specified by:
createObjectInputFilter
in interfaceObjectInputFilterFactory
- Returns:
- a
ObjectInputFilter
instance
-