public static class Fastjson2SecurityManager.Handler
extends com.alibaba.fastjson2.filter.ContextAutoTypeBeforeHandler
| Constructor and Description |
|---|
Handler(org.apache.dubbo.common.utils.SerializeCheckStatus status,
org.apache.dubbo.common.utils.SerializeSecurityManager serializeSecurityManager,
boolean checkSerializable,
String[] acceptNames,
Set<String> disAllowedList) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
apply(String typeName,
Class<?> expectClass,
long features) |
boolean |
checkIfDisAllow(String typeName) |
boolean |
isCheckSerializable() |
Class<?> |
loadClassDirectly(String typeName) |
public Class<?> apply(String typeName, Class<?> expectClass, long features)
apply in interface com.alibaba.fastjson2.JSONReader.AutoTypeBeforeHandlerapply in class com.alibaba.fastjson2.filter.ContextAutoTypeBeforeHandlerpublic boolean checkIfDisAllow(String typeName)
public boolean isCheckSerializable()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.