Allowing Custom Classes in the Database
EJBCA is very strict when it comes to deserialization of objects from the database, and these are checked against an allow list. In order to use custom classes which may be saved to the database (such as extensions, etc), do the following:
- In cesecore.properties, uncomment and edit the following line:CODE
#custom.class.whitelist=org.widget.Bar,org.widget.Foo
- As properties, set each canonical class name which is to be accepted for deserialization, separated by a comma.