Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-651

Unnecessary Base64 conversion for the IN codition in the JPA Identity queries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • PLINK_2.7.0.CR3
    • PLINK_2.7.0.CR2
    • IDM
    • None
    • Hide

      IdentityQueryBuilder builder = identityManager.getQueryBuilder();
      IdentityQuery<User> query = builder.createIdentityQuery(User.class).where(builder.in(User.EMAIL, emails.toArray()));
      List<User> users = query.getResultList();

      Show
      IdentityQueryBuilder builder = identityManager.getQueryBuilder(); IdentityQuery<User> query = builder.createIdentityQuery(User.class).where(builder.in(User.EMAIL, emails.toArray())); List<User> users = query.getResultList();

      In the `JPAIdentityStore.addCondition` the `convertValueToBase64` check is missed for the `InCondition` so it is not possible to query entities using this condition.

              psilva@redhat.com Pedro Igor Craveiro
              sslamm Valentin Fedoskin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: