Package akka.serialization.jackson
Class JacksonSerializer.GadgetClassDenyList
- java.lang.Object
-
- com.fasterxml.jackson.databind.jsontype.impl.SubTypeValidator
-
- akka.serialization.jackson.JacksonSerializer.GadgetClassDenyList
-
- Enclosing class:
- JacksonSerializer
public static class JacksonSerializer.GadgetClassDenyList extends com.fasterxml.jackson.databind.jsontype.impl.SubTypeValidator
Using the deny list from Jackson databind of class names that shouldn't be allowed. Not nice to depend on implementation details of Jackson, but good to use the same list to automatically have the list updated when new classes are added in Jackson.
-
-
Constructor Summary
Constructors Constructor Description GadgetClassDenyList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAllowedClass(java.lang.Class<?> clazz)
boolean
isAllowedClassName(java.lang.String className)
-