Class Configuration.SecurityDefaults

java.lang.Object
com.realobjects.pdfreactor.Configuration.SecurityDefaults
Enclosing class:
Configuration

public static final class Configuration.SecurityDefaults extends Object

A type containing default behaviors for security settings.

  • Method Details

    • setAllowFileSystemAccess

      public Configuration.SecurityDefaults setAllowFileSystemAccess(Boolean allowGlobalFileSystemAccess)

      Whether to allow document resources such as CSS or JavaScript file system access.

    • setAllowSameBasePath

      public Configuration.SecurityDefaults setAllowSameBasePath(Boolean allowSameBasePath)

      Whether to allow loading of document resources that have the same base path as the document.

    • setAllowProtocols

      public Configuration.SecurityDefaults setAllowProtocols(String... allowProtocols)

      A list of allowed URL protocols. URLs with protocols not in this list will be blocked. Note that "file" protocols are handled by getAllowFileSystemAccess() instead.

    • setAllowAddresses

      public Configuration.SecurityDefaults setAllowAddresses(Configuration.AddressType... allowAddresses)

      A list of address types to where PDFreactor is allowed to connect.