public static class Configuration.SecuritySettings extends Object
A type containing security settings.
Modifier and Type | Method and Description |
---|---|
Configuration.SecuritySettings |
setAllowExternalXmlParserResources(Boolean allowExternalXmlParserResources)
Specifies whether the XML parser will process external XML resources during parsing, e.g.
|
Configuration.SecuritySettings |
setAllowRedirects(Boolean allowRedirects)
Whether to allow automatic URL redirects when PDFreactor receives appropriate status codes.
|
Configuration.SecuritySettings |
setConnectionRules(Configuration.ConnectionRule[] rules)
A list of rules that PDFreactor evaluates and then either denies or allows connections to a particular resource.
|
Configuration.SecuritySettings |
setDefaults(Configuration.SecurityDefaults defaults)
An object of security default behavior which is used for any URLs that do not match any rules.
|
Configuration.SecuritySettings |
setUntrustedApi(Boolean untrustedApi)
Specifies whether the PDFreactor configuration object is considered an untrusted context for the purpose of
security.
|
public Configuration.SecuritySettings setAllowRedirects(Boolean allowRedirects)
Whether to allow automatic URL redirects when PDFreactor receives appropriate status codes.
public Configuration.SecuritySettings setAllowExternalXmlParserResources(Boolean allowExternalXmlParserResources)
Specifies whether the XML parser will process external XML resources during parsing, e.g. DTDs, entities, XInlcudes.
This does not affect HTML5 document processing.
public Configuration.SecuritySettings setUntrustedApi(Boolean untrustedApi)
Specifies whether the PDFreactor configuration object is considered an untrusted context for the purpose of security. If it is a trusted context, URLs that are specified in the configuration object are not vetted against the security settings and are always allowed. If it is not trusted, the same security settings that are used for document resources apply to all configuration resources (including the document) as well.
public Configuration.SecuritySettings setConnectionRules(Configuration.ConnectionRule[] rules)
A list of rules that PDFreactor evaluates and then either denies or allows connections to a particular resource.
public Configuration.SecuritySettings setDefaults(Configuration.SecurityDefaults defaults)
An object of security default behavior which is used for any URLs that do not match any rules.
This doc was generated on 2020-09-17. Copyright © 2002-2020 RealObjects GmbH. All Rights Reserved.