Daniele Romagnoli ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ad08f42de-4f3f-4079-901f-23e52041d6f9
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYWE4MzRlYjlmNTkzNDNhMmFjOWM0NWQ4MjIxZDliNzUiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10173?atlOrigin=eyJpIjoiYWE4MzRlYjlmNTkzNDNhMmFjOWM0NWQ4MjIxZDliNzUiLCJwIjoiaiJ9
 ) GEOS-10173 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10173?atlOrigin=eyJpIjoiYWE4MzRlYjlmNTkzNDNhMmFjOWM0NWQ4MjIxZDliNzUiLCJwIjoiaiJ9
 ) CoverageViewReader's format not being secured with Geofence-Geoserver ( 
https://osgeo-org.atlassian.net/browse/GEOS-10173?atlOrigin=eyJpIjoiYWE4MzRlYjlmNTkzNDNhMmFjOWM0NWQ4MjIxZDliNzUiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.19.2 Assignee: Daniele Romagnoli ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ad08f42de-4f3f-4079-901f-23e52041d6f9
 ) Components: Main Created: 28/Jul/21 2:34 PM Priority: Medium Reporter: 
Daniele Romagnoli ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ad08f42de-4f3f-4079-901f-23e52041d6f9
 )

The CoverageViewReader getFormat method creates an anonymous Format 
implementing the Format interface resulting in not being secured when GeoFence 
is in the mix.
The SecuredObjectFactory only secures AbstractGridFormat.

This result in the following exception.

Full trace
ERROR [geoserver.ows] -
java.lang.IllegalArgumentException: Could not find a security wrapper for class 
class

( 
https://osgeo-org.atlassian.net/browse/GEOS-10173#add-comment?atlOrigin=eyJpIjoiYWE4MzRlYjlmNTkzNDNhMmFjOWM0NWQ4MjIxZDliNzUiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10173#add-comment?atlOrigin=eyJpIjoiYWE4MzRlYjlmNTkzNDNhMmFjOWM0NWQ4MjIxZDliNzUiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100170- 
sha1:cbbef6d )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to