Indeed the part i was unsure about was the secure feature collection / secure feature source. I basically dropped all the unnecessary methods from SecureFeatureCollection as you mentioned. I also removed the wrapping in DefaultSecureDataFactory of the plain Iterator interface.
SecuredFeatureCollection wise I believe we can just drop all the extra
methods
Jody removed from FeatureCollection,
don’t think that GeoServer uses any of them but wanted to make sure
security
could not be broken by accident if one module started using them
Yeah, more or less that is what i did. There was a test case though that
were calling the remove/add methods, so updated that. Will definitely want a
review on that stuff.
Sure will do. Since it was security I wanted to make sure I was shutting down
all possible ways to write when not allowed (well, past reflection
against private
fields of course), but those methods and the tests were just me being
thorough as
I believe there is nothing in GeoServer using them.
I’ll have a look at the branch as it’s made available.
Indeed the part i was unsure about was the secure feature collection / secure feature source. I basically dropped all the unnecessary methods from SecureFeatureCollection as you mentioned. I also removed the wrapping in DefaultSecureDataFactory of the plain Iterator interface.
SecuredFeatureCollection wise I believe we can just drop all the extra
methods
Jody removed from FeatureCollection,
don’t think that GeoServer uses any of them but wanted to make sure
security
could not be broken by accident if one module started using them
Yeah, more or less that is what i did. There was a test case though that
were calling the remove/add methods, so updated that. Will definitely want a
review on that stuff.
Sure will do. Since it was security I wanted to make sure I was shutting down
all possible ways to write when not allowed (well, past reflection
against private
fields of course), but those methods and the tests were just me being
thorough as
I believe there is nothing in GeoServer using them.
I’ll have a look at the branch as it’s made available.