AuthorizationService is unpredictable when there are multiple EntityProviders for the same entity

Description

When there are more entity providers for the same entity the behaviour is unpredictable due to the fact that the providers are in a hash map and read from that without any specific order.

Solution
The AuthorizationService should respect OSGi service ordering and select the highest ranked service if there's more than one available.

Assignee

Bram Pouwelse

Reporter

Bram Pouwelse

Labels

None

Fix versions

Priority

Major
Configure