public abstract class XStreamTypePermission extends Object implements com.thoughtworks.xstream.security.TypePermission
SerializationSecurityManager
to decide what class is allowed to be
marshalled/unmarshalled.Modifier and Type | Field and Description |
---|---|
protected SerializationSecurityManager |
serializationSecurityManager |
Constructor and Description |
---|
XStreamTypePermission(SerializationSecurityManager serializationSecurityManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
allows(@Nullable Class type) |
protected abstract @NotNull SerializationSecurityMethod |
getSerializationSecurityMethod() |
protected final SerializationSecurityManager serializationSecurityManager
public XStreamTypePermission(SerializationSecurityManager serializationSecurityManager)
public boolean allows(@Nullable @Nullable Class type)
allows
in interface com.thoughtworks.xstream.security.TypePermission
@NotNull protected abstract @NotNull SerializationSecurityMethod getSerializationSecurityMethod()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.