By: kalaiselvan kesavel user 18 May 2016 at 10:19 a.m. CDT

3 Responses
kalaiselvan kesavel gravatar
Hello, Currently I am implementing REST service for search operation based on the SCIM filter criteria. Is there any code availble for parsing filter criteria based on SCIM standard. Thanks in advance

By Aliaksandr Samuseu staff 18 May 2016 at 10:43 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Kalaiselvan. Have you checked sources [here](https://github.com/GluuFederation/SCIM-Client/tree/master/src/test/java/gluu/scim2/client)?

By kalaiselvan kesavel user 18 May 2016 at 11:09 a.m. CDT

kalaiselvan kesavel gravatar
Thanks

By Valentino Pecaoco user 19 May 2016 at 12:25 a.m. CDT

Valentino Pecaoco gravatar
Thanks Alex. Hi Kalaiselvan, We are using ANTLR v4 as the filter framework. The filter grammar is here: [ScimFilter.g4](https://github.com/GluuFederation/antlr-scim-filter/blob/master/src/main/antlr4/org/gluu/antlr/scimFilter/ScimFilter.g4) I suggest you read up with ANTLR and play with it first if you are not familiar with it. We are also using the ANTLR Visitor strategy and since we have LDAP as a backend, our visitors are specialized towards LDAP queries: [SCIM filter visitors](https://github.com/GluuFederation/oxTrust/tree/master/server/src/main/java/org/gluu/oxtrust/service/antlr/scimFilter/visitor) Regards, Val