PolicyDomainOptions[] =
{
{ "Undefined", UndefinedPolicyDomain, UndefinedOptionFlag, MagickTrue },
+ { "Cache", CachePolicyDomain, UndefinedOptionFlag, MagickFalse },
{ "Coder", CoderPolicyDomain, UndefinedOptionFlag, MagickFalse },
{ "Delegate", DelegatePolicyDomain, UndefinedOptionFlag, MagickFalse },
{ "Filter", FilterPolicyDomain, UndefinedOptionFlag, MagickFalse },
domain=CommandOptionToMnemonic(MagickPolicyDomainOptions,
policy_info[i]->domain);
(void) FormatLocaleFile(file," Policy: %s\n",domain);
- if ((policy_info[i]->domain == ResourcePolicyDomain) ||
+ if ((policy_info[i]->domain == CachePolicyDomain) ||
+ (policy_info[i]->domain == ResourcePolicyDomain) ||
(policy_info[i]->domain == SystemPolicyDomain))
{
if (policy_info[i]->name != (char *) NULL)
file_xml=FileToXML(path,~0UL);
if (file_xml != (char *) NULL)
{
- status&=LoadPolicyCache(policy_cache,file_xml,path,depth+1,
- exception);
+ status&=LoadPolicyCache(policy_cache,file_xml,path,
+ depth+1,exception);
file_xml=DestroyString(file_xml);
}
}
FilterPolicyDomain,
PathPolicyDomain,
ResourcePolicyDomain,
- SystemPolicyDomain
+ SystemPolicyDomain,
+ CachePolicyDomain
} PolicyDomain;
typedef enum
<!-- <policy domain="coder" rights="none" pattern="MVG" /> -->
<!-- <policy domain="delegate" rights="none" pattern="HTTPS" /> -->
<!-- <policy domain="path" rights="none" pattern="@*" /> -->
- <policy domain="cache" name="shared-secret" value="passphrase"/>
+ <policy domain="cache" name="shared-secret" value="passphrase" stealth="true"/>
</policymap>