Class KieServerTypePermission
- java.lang.Object
-
- com.thoughtworks.xstream.security.RegExpTypePermission
-
- com.thoughtworks.xstream.security.WildcardTypePermission
-
- org.kie.server.api.marshalling.xstream.KieServerTypePermission
-
- All Implemented Interfaces:
com.thoughtworks.xstream.security.TypePermission
public class KieServerTypePermission extends com.thoughtworks.xstream.security.WildcardTypePermission
Kie Server specific type permission implementation that allows:- org.kie.server.api.model classes (including subpackages)
- classes that come from kjar or its dependencies (were loaded by kjar class loader)
- set of classes explicitly given when constructing this instance
- optionally defined by wildcard that is given via system property: org.kie.server.xstream.enabled.packages (comma separated list of wildcard expressions)
-
-
Constructor Summary
Constructors Constructor Description KieServerTypePermission(Set<Class<?>> classes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allows(Class type)
protected static String[]
patterns()
-