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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev