syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DmitriyB. (JIRA)" <>
Subject [jira] [Created] (SYNCOPE-1293) Make "token" field searchable again
Date Wed, 04 Apr 2018 12:06:00 GMT
DmitriyB. created SYNCOPE-1293:

             Summary: Make "token" field searchable again
                 Key: SYNCOPE-1293
             Project: Syncope
          Issue Type: Bug
          Components: common
    Affects Versions: 2.0.8
            Reporter: DmitriyB.

Reset password notification may contain "about" value with a "filter" property.
And "token" field of a "UserTO" may be used in a fiql query of password
reset notification.
E.g. {{token!=$null}} query can be used as a filter value JPAAnyAbout entity which is a
part of JPANotification entity.

If token field is not searchable for UserTO object, then SearchCondVisitor#createAttributeCond(final
String schema) creates AttributeCond object instead of AnyCond object, and therefore NotificationManagerImpl
skips password reset notification and doesn't process it correctly (look at line 344 in []).



Link to conversation in git:

This message was sent by Atlassian JIRA

View raw message