MCRSecureTokenV2FilterConfig must work with configurable URL to FileNodeServlet

Description

The method getFileNodeServletSecured assumes that the FileNodeServlet runs under "servlets/MCRFileNodeServlet/".
But we use for example "/file/${mcrobjid}/${mcrderid}/${path}" instead.

For REST-API there is property MCR.RestAPI.v1.Files.URL.path
which is not used by org.mycore.restapi.v1.utils.MCRJSONFileVisitor
when creating the secure URL.

If the URL of the FileNodeServlet is used in other code parts as well, we could change the property name.

Environment

None

Assignee

Thomas Scheffler

Reporter

Robert Stephan

Labels

None

URL

None

External issue ID

None

Fix versions

Affects versions

Priority

Highest
Configure