FolderMetadataProvider

Overview

Identified by type="Folder", this MetadataProvider automatically wraps all of the files in a local directory with individual instances of an XML MetatataProvider  instance, after which the files may be individually monitored.

Use the LocalDynamic MetadataProvider

Deployers will find the LocalDynamicMetadataProvider much better suited to loading metadata from a folder, though at a slight cost in cognitive load from needing to rename the files. That plugin consumes far fewer system resources and allows metadata to be dynamically added, not just altered.

Reference

The type="Folder" attribute must be present.

The following attributes are also supported (and the path attribute is required):

Name

Type

Req?

Default

Description

Name

Type

Req?

Default

Description

path

local pathname

Y

 

Directory from which to load metadata

discoveryFeed

boolean



true

When true, a JSON feed of IdP information will be produced and cached in memory for use by the DiscoveryFeed handler. Can be disabled to save processing and memory.

dropDOM

boolean



true

When true, the underlying XML DOM structure is dropped after processing a new metadata instance. Set to false to maintain the DOM in memory if there are supplemental options being used that operate more efficiently with the DOM maintained.

reloadChanges

boolean



true

Whether the individual files are to be reloadable. Note that the directory is NOT rescanned, so files that are added to the folder after startup will not be processed.

Â