Interface SerializationSecurityManager
- All Known Implementing Classes:
AbstractSerializationSecurityManager
,RemoteSerializationSecurityManager
,SerializationSecurityManagerImpl
@Internal
public interface SerializationSecurityManager
-
Method Summary
Modifier and TypeMethodDescriptionGet 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 Details
-
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:
-