org.keycloak.models

## Interface UserFederationValidatingProviderFactory

- All Superinterfaces:
    ProviderFactory<UserFederationProvider>, UserFederationProviderFactory
  All Known Implementing Classes:
    LDAPFederationProviderFactory

      public interface UserFederationValidatingProviderFactory
      extends UserFederationProviderFactory

  TODO: Merge with UserFederationProviderFactory and add "default" method validateConfig with empty body once we move to source level 1.8
  Author:
    Marek Posolda

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `validateConfig(RealmModel realm, UserFederationProviderModel providerModel)` Called when instance of mapperModel is created for this factory through admin endpoint

    - ### Methods inherited from interface org.keycloak.models.UserFederationProviderFactory

      `create, getConfigurationOptions, getId, getInstance, syncAllUsers, syncChangedUsers`

    - ### Methods inherited from interface org.keycloak.provider.ProviderFactory

      `close, init, postInit`

- - ### Method Detail

    - #### validateConfig

          void validateConfig(RealmModel realm,
                              UserFederationProviderModel providerModel)
                       throws FederationConfigValidationException

      Called when instance of mapperModel is created for this factory through admin endpoint
      Parameters:
        `realm` -
        `providerModel` -
      Throws:
        `FederationConfigValidationException` - if configuration provided in mapperModel is not valid

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