Importer doesn't pass spring request context to context creation thread (when in async mode)

Description

Similar to GEOS-7676, when performing an asynchronous import, GeoServer doesn't pass the spring context onto the importer initialization thread.
This can cause a security error if you are using GeoFence and importing into an existing store, as the store to be imported into will be resolved without authentication, usually resulting in it being limited to READ_ONLY.

Environment

None

Assignee

Unassigned

Reporter

Torben Barsballe

Triage

None

Fix versions

None

Affects versions

None

Components

Priority

Medium
Configure