org.keycloak.storage.user

## Interface ImportedUserValidation

- All Known Implementing Classes:
    KerberosFederationProvider, LDAPStorageProvider, SSSDFederationProvider

      public interface ImportedUserValidation

  If your UserStorageProvider is importing users into local storage, you can validate that import whenever the user is queried from local storage.
  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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

- - ### Method Detail

    - #### validate

          UserModel validate(RealmModel realm,
                             UserModel user)

      If this method returns null, then the user in local storage will be removed
      Parameters:
        `realm` -
        `user` -
      Returns:
        null if user no longer valid

Copyright © 2021 JBoss by Red Hat. All rights reserved.