[Geoserver-devel] [JIRA] (GEOS-7644) Secured decorators doesn't handle Structured GridCoverage2DReader

Daniele Romagnoli created an issue

GeoServer / BugGEOS-7644

Secured decorators doesn’t handle Structured GridCoverage2DReader

Issue Type:

BugBug

Affects Versions:

2.8.4, 2.7.6, 2.9.0

Assignee:

Unassigned

Components:

Main, Security

Created:

19/Jul/16 10:56 AM

Priority:

MediumMedium

Reporter:

Daniele Romagnoli

When trying to delete a granule from an ImageMosaic on a Secured GeoServer, the operation doesn’t succeed returning this message:
“Coverage exists, but is no structured grid coverage”.

The problem is that the DefaultSecurityFactory wraps the reader with a SecuredGridCoverage2DReader which implements standard GridCoverage2DReader.

Granules management can only be performed on StructuredGridCoverage2DReader so the Factory should wrap that interface with a SecuredStructuredGridCoverage2DReader implementing it.

When doing that, it should also take care of checking the wrapping policies and filters for operations like read, harvest, granules removal, coverage removal and so on.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.148.3#100005-sha1:53b5f3f)

Atlassian logo