pingidentity / scim2

The UnboundID SCIM 2.0 SDK for Java
184 stars 75 forks source link

[scim2-sdk-server] SearchRequest and DotSearchFilter not working together nicely #216

Open andreim11 opened 8 months ago

andreim11 commented 8 months ago

Given that DotSearchFilter converts POST /Users/.search into GET /Users with query params, the obvious approach is to only handle the GET endpoint. Problem is that I found no way of getting access to a SearchRequest model built from the query params. If I handle just the POST /Users/.search, it works out nicely mapping the json body to a SearchRequest model, however this does not work out well when filters are specified as query params

kqarryzada commented 7 months ago

@andreim11, it's true that the SearchRequest model is not easily accessible once DotSearchFilter.filter() is invoked. Could you give some details about your use case and the problem you're trying to solve? Are you trying to interface with a particular product?