Package com.realobjects.pdfreactor
Class Configuration.SecurityDefaults
java.lang.Object
com.realobjects.pdfreactor.Configuration.SecurityDefaults
- Enclosing class:
Configuration
A type containing default behaviors for security settings.
-
Method Summary
Modifier and TypeMethodDescriptionsetAllowAddresses
(Configuration.AddressType... allowAddresses) A list of address types to where PDFreactor is allowed to connect.setAllowFileSystemAccess
(Boolean allowGlobalFileSystemAccess) Whether to allow document resources such as CSS or JavaScript file system access.setAllowProtocols
(String... allowProtocols) A list of allowed URL protocols.setAllowSameBasePath
(Boolean allowSameBasePath) Whether to allow loading of document resources that have the same base path as the document.
-
Method Details
-
setAllowFileSystemAccess
Whether to allow document resources such as CSS or JavaScript file system access.
-
setAllowSameBasePath
Whether to allow loading of document resources that have the same base path as the document.
-
setAllowProtocols
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.
-