[Backup/Restore] Rest Controller not able to backup secured resources

Description

Trying to perform a backup of a GeoServer catalog having protected resources through the REST APIs fails with the following exception:

The issue is caused by the CatalogItemReader trying to dump the ResourceInfos present in the Catalog.

Authentication is not passed to the Facade() causing the reader to fail to fetch the protected resources.

Environment

None

Assignee

Alessio Fabiani

Reporter

Alessio Fabiani

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure