Don't download XACMLs into workspace that often

Steps to reproduce

Steps to reproduce:
1. Process an event and have a look at the Opencast log on the Admin Node

Actual Results:
It seems that the XACML is downloaded like 100 times or so, at least there is a large number of messages like:

2018-05-16 18:30:08,474 | INFO | (WorkspaceImpl:403) - Downloading http://localhost:8080/assets/assets/206013f7-7967-4b73-97e8-611ba7974c65/98484a1b-5060-477c-a4e9-6eca4977ba32/0/xacml.xml to .../build/opencast-dist-develop-6-SNAPSHOT/data/opencast/workspace/http_localhost_8080/assets/assets/206013f7-7967-4b73-97e8-611ba7974c65/98484a1b-5060-477c-a4e9-6eca4977ba32/0/xacml-9e4bf983-626c-4f00-beef-023425c61ff9.xml

Expected Results:
The XACMLs should not be downloaded that often or maybe be re-used

Workaround (if any):
Ignore

Status

Assignee

Lars Kiesow

Reporter

Sven Stauber

Severity

Performance

Tags (folksonomy)

None

Fix versions

Affects versions

5.0

Priority

Major