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(Class type) |
protected abstract SerializationSecurityMethod |
getSerializationSecurityMethod() |
protected final SerializationSecurityManager serializationSecurityManager
public XStreamTypePermission(SerializationSecurityManager serializationSecurityManager)
public boolean allows(@Nullable Class type)
allows
in interface com.thoughtworks.xstream.security.TypePermission
@NotNull protected abstract SerializationSecurityMethod getSerializationSecurityMethod()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.