Package org.yaml.snakeyaml.inspector
Class TrustedTagInspector
- java.lang.Object
-
- org.yaml.snakeyaml.inspector.TrustedTagInspector
-
- All Implemented Interfaces:
org.yaml.snakeyaml.inspector.TagInspector
public final class TrustedTagInspector extends Object implements org.yaml.snakeyaml.inspector.TagInspector
TagInspector which allows to create any custom instance. Should not be used when the data comes from untrusted source to prevent possible remote code invocation.
-
-
Constructor Summary
Constructors Constructor Description TrustedTagInspector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isGlobalTagAllowed(org.yaml.snakeyaml.nodes.Tag tag)
Allow any
-