Interface SerializationSecurityManager
-
- All Known Implementing Classes:
AbstractSerializationSecurityManager
,RemoteSerializationSecurityManager
,SerializationSecurityManagerImpl
@Internal public interface SerializationSecurityManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getClassNameWhitelist()
Get set of class names that are whitelisted for purpose of serialization.boolean
isBlacklisted(@NotNull Class<?> type, @NotNull SerializationSecurityMethod method)
returns true for classes that should not be serialised or deserialised.
-
-
-
Method Detail
-
getClassNameWhitelist
Set<String> getClassNameWhitelist()
Get set of class names that are whitelisted for purpose of serialization. Returned set might be immutable.
-
isBlacklisted
boolean isBlacklisted(@NotNull @NotNull Class<?> type, @NotNull @NotNull SerializationSecurityMethod method)
returns true for classes that should not be serialised or deserialised.- Parameters:
type
-method
-- Returns:
-
-