[Geoserver-devel] Use securityFilter in SecureCatalogImpl bulk get methods

I’ve noticed quite an overhead in dealing with large catalogs coming from SecureCatalogImpl.getXXX():List<> methods

Reason being it does a “full table scan” and filters in-process, while the list(Class, Filter,…):Iterator method relies on the ResourceAccessManager build of a security filter.

I’ve created a draft pull request here: https://github.com/geoserver/geoserver/pull/7698

So far everything seems to be working, but I’m not sure if I may be missing something.

If this seems like something we can accept I’ll create a jira ticket and follow procedure.

Cheers,

···

camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

Gabriel Roldán
Geospatial Developer

I went ahead and created a jira ticket, mostly for internal tracking purposes.
If there’s anything to discuss please follow up in there?

cheers,

···

camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

Gabriel Roldán
Geospatial Developer

camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

Gabriel Roldán
Geospatial Developer

oops, forgot to add link https://osgeo-org.atlassian.net/browse/GEOS-11423

···

camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

Gabriel Roldán
Geospatial Developer

camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

Gabriel Roldán
Geospatial Developer

camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

Gabriel Roldán
Geospatial Developer