[
https://issues.apache.org/jira/browse/SYNCOPE-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683615#comment-15683615
]
gonzalad commented on SYNCOPE-971:
----------------------------------
Hi Sergey,
> IMHO supporting a case-sensitivity is a configuration choice
I think nobody would use such a feature if we only have a global on/off switch
(performance penalty when the db is big). I can be mistaken of course !
For a support in FIQL for now, that's not possible :
* Adding a custom operator or a custom function in FiqlParser is impossible
(i.e. operatorsMap is non-accessible) :
https://github.com/gonzalad/cxf/blob/315e357e850407e9f3233259bab33ea765633271/rt/rs/extensions/search/src/main/java/org/apache/cxf/jaxrs/ext/search/fiql/FiqlParser.java#L100
* There's always the possibility to implement a custom SearchConditionParser,
but I wouldn't do it.
I see there's a CUSTOM attribute in ConditionType, but it's never used.
https://github.com/gonzalad/cxf/blob/0cc841f6ff9098f6474d025c21c8bb0fcca2f289/rt/rs/extensions/search/src/main/java/org/apache/cxf/jaxrs/ext/search/ConditionType.java#L35
Sergey, do you know what it for was ?
Is there a possibility to extend FiqlParser for custom conditionTypes ? (if
it's interesting for everyone of course)
Thanks,
Adrian
> Case insensitive search
> -----------------------
>
> Key: SYNCOPE-971
> URL: https://issues.apache.org/jira/browse/SYNCOPE-971
> Project: Syncope
> Issue Type: Improvement
> Components: client, console, core
> Reporter: gonzalad
> Fix For: 2.0.2, 2.1.0
>
>
> Handle case insensitive search in syncope.
> i.e. querying all users with an attribute givenName that matches (case
> insensitive) 'martin' would return :
> * Martin
> * martin
> * mArtin
> A nice thing would be to provide a FIQL feature for this (with a custom
> operator ? with some fiql functions ?).
> Reference mail thread:
> https://lists.apache.org/thread.html/13284771128bcffbd860972c770ca0af6bbdb59948f70c969494aa50@%3Cuser.syncope.apache.org%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)