[keycloak-dev] Missing RESTful equivalents for some User Storage SPI methods?

Bill Burke bburke at redhat.com
Wed Jan 25 16:31:37 EST 2017


https://issues.jboss.org/browse/KEYCLOAK-4289

PR incoming


On 1/25/17 4:26 PM, Bill Burke wrote:
>
> On 1/25/17 3:39 PM, Tomas Kyjovsky wrote:
>> Hello,
>>
>> It seems there are some User Storage SPI methods for which there should be some equivalents in REST API -- but there aren't.
>>
>>
>> 1) Searching for users by attribute:
>>
>> UserQueryProvider.searchForUserByUserAttribute(String attrName, String attrValue, RealmModel realm)
> Used internally only at the moment.
>>
>> 2) Credential types (not 100% sure about these though):
>>
>> CredentialInputValidator.isConfiguredFor(RealmModel realm, UserModel user, String credentialType)
>>
>> CredentialInputUpdater.getDisableableCredentialTypes(RealmModel realm, UserModel user)
> Available in user json representation
>
>> CredentialInputUpdater.disableCredentialType(RealmModel realm, UserModel user, String credentialType)
> Yes, there is a REST method for that, but not on the REST client
> interface.  Needs to be added.  I'll do that.  Good catch.
>
> Bill
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev



More information about the keycloak-dev mailing list