pingidentity / scim2

The UnboundID SCIM 2.0 SDK for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

andreim11 opened this issue · comments

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

@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?