[ 
https://issues.apache.org/jira/browse/SYNCOPE-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18151561#comment-18151561
 ] 

ASF subversion and git services commented on SYNCOPE-2017:
----------------------------------------------------------

Commit 2a65084c776cfa90a4e9a89d3d517e0d32516e62 in syncope's branch 
refs/heads/master from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=2a65084c77 ]

[SYNCOPE-2017] Evaluate SCIM PATCH value-path filters without JEXL


> SCIM PATCH value-path filters are evaluated as JEXL expressions
> ---------------------------------------------------------------
>
>                 Key: SYNCOPE-2017
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-2017
>             Project: Syncope
>          Issue Type: Bug
>          Components: extensions
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>            Priority: Major
>              Labels: scim
>             Fix For: 4.1.5, 4.2.0, 5.0.0
>
>
> SCIM PATCH operations containing a value-path filter, for example 
> {{emails[type eq "work"].value}}, are translated into a JEXL expression by 
> simple string replacement and evaluated on the request thread while the 
> update request is being bound.
> The SCIM filter should be parsed and evaluated as a small, bounded comparison 
> expression against the configured complex attributes instead.
> Proposed change: use a strict value-path filter parser/evaluator, reject 
> unsupported filters during deserialization.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to