public interface ImportedUserValidation
UserStorageProvider
that supports validating users. You must
implement this interface if your storage imports users into the Keycloak local storage and you want to sync these
users with your storage. The idea is, that whenever keycloak queries users imported from your storage, the method
validate()
is called and if it returns null, the user is removed from
local storage and reloaded from your storage by corresponding method.Modifier and Type | Method and Description |
---|---|
UserModel |
validate(RealmModel realm,
UserModel user)
If this method returns null, then the user in local storage will be removed
|
UserModel validate(RealmModel realm, UserModel user)
realm
- user
- Copyright © 2021 JBoss by Red Hat. All rights reserved.