-
Notifications
You must be signed in to change notification settings - Fork 17
Bulk searchUsers operation #143
Comments
Why not simply make multiple calls yourself, or create a viable abstraction around the connector, or do you want to send multiple queries at once to the resource-server and get back multiple |
The last option is covered by the SCIM api spec: http://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.7 So this has to be supported in the resource-server, too. |
Exactly. The scenario is as follows: There is an authorization component within vibesa that defines and evaluates the user permissions. Example: If the following search query returns the current user, the permission is granted.
The rule part of each permission is an OSIAM searchUsers query. We have roundabout 50 permissions, that need to be checked for each user who tries to access the application. This means 50 searchUsers requests per user. This creates a lot of round-trip-time. In order to eliminate the server roundtrips, Vibesa team would welcome a bulk request with all the 50 queries and a response list that contains responses for all the queries. |
Searching is the most costly operation you can do with OSIAM, especially when it comes down to extensions and the Having said that, implementing bulk operations, as defined by the SCIM 2.0 specs, is something that's really useful for OSIAM. And we'll love to implement that. We could start with search and get, and schedule the mutating methods for the future. As this must be implemented in the resource-server, someone should open an issue there, too. For the next time, please use the general, overarching issue tracker here: https://github.com/osiam/osiam/issues |
…Result Introduce Constant representing ListResponse
From @umerkayani:
In Vibesa we require a more efficient version of searchUsers method of connector4java component. Right now we have the method as follows:
and we need something like this:
The text was updated successfully, but these errors were encountered: