Class XStreamTypePermission

java.lang.Object
com.atlassian.bamboo.persister.xstream.XStreamTypePermission
All Implemented Interfaces:
com.thoughtworks.xstream.security.TypePermission
Direct Known Subclasses:
BandanaXStreamTypePermission, RemoteCommunicationXStreamTypePermission

public abstract class XStreamTypePermission extends Object implements com.thoughtworks.xstream.security.TypePermission
XStream type permission which uses SerializationSecurityManager to decide what class is allowed to be marshalled/unmarshalled.
  • Field Details

  • Constructor Details

  • Method Details

    • allows

      public boolean allows(@Nullable @Nullable Class type)
      Specified by:
      allows in interface com.thoughtworks.xstream.security.TypePermission
    • getSerializationSecurityMethod

      @NotNull protected abstract @NotNull SerializationSecurityMethod getSerializationSecurityMethod()