KEYCLOAK-19763 fix MapClientProvider.getClientByClientId
This commit is contained in:
parent
e99b363ba0
commit
439e2e4288
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ public class MapClientProvider implements ClientProvider {
|
||||||
|
|
||||||
ModelCriteriaBuilder<ClientModel> mcb = criteria();
|
ModelCriteriaBuilder<ClientModel> mcb = criteria();
|
||||||
mcb = mcb.compare(SearchableFields.REALM_ID, Operator.EQ, realm.getId())
|
mcb = mcb.compare(SearchableFields.REALM_ID, Operator.EQ, realm.getId())
|
||||||
.compare(SearchableFields.CLIENT_ID, Operator.ILIKE, clientId);
|
.compare(SearchableFields.CLIENT_ID, Operator.EQ, clientId);
|
||||||
|
|
||||||
return tx.read(withCriteria(mcb))
|
return tx.read(withCriteria(mcb))
|
||||||
.map(entityToAdapterFunc(realm))
|
.map(entityToAdapterFunc(realm))
|
||||||
|
|
Loading…
Reference in a new issue