[keycloak-dev] Missing RESTful equivalents for some User Storage SPI methods?
bburke at redhat.com
Wed Jan 25 16:31:37 EST 2017
On 1/25/17 4:26 PM, Bill Burke wrote:
> On 1/25/17 3:39 PM, Tomas Kyjovsky wrote:
>> 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.
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
More information about the keycloak-dev