Logic is responsible for generation of URI and applying limits. It groups all configuration settings related to allocation of slots, etc.
Available properties:
Protocol which should be used. This is only used in conjunction with port
. Possible values are:
{proto}://{serverName}:{port}/upload/{userJid}/{slotId}/{filename}
){proto}://{serverName}:{port}/upload/{slotId}/{filename}
)Every block in the template between {
and }
is a named part which will be replaced by the property value during generation of URI for slot.
Blocks possible to use:
slotId
and filename
are required to be part of every URI template.
Inclusion of userJid
or domain
will speed up the lookup for slot id during upload and download operation if more than one metadata repository is configured.
However, this may lead to leak of user JID or user domain if message with URI containing this part will be send to recipient which is unaware of the senders' JID (ie. in case of anonymous MUC room).