Filtered Resources
The Filtered Resources feature lets you provision common settings and configuration to clients by turning any textual artifact into a dynamic template, based on request parameters, current user identity and artifact properties. This is done by processing text files as FreeMarker templates. When a file artifact that has been marked as ‘filtered’ is requested for download, the contents of the file are first passed through a FreeMarker processor. The processor fills in the parameters specified in the template before returning the completed file artifact to the user. This feature is extremely powerful and flexible since Artifactory uses its own API in the filtering context, allowing you to create and provision dynamic content based on information stored in Artifactory. For example, you could provision different content base on the user’s IP address or based on changing property values attached to the artifact.