org.keycloak.models.mongo.keycloak.adapters

## Class MongoRealmProviderFactory

- java.lang.Object
- - org.keycloak.models.mongo.keycloak.adapters.MongoRealmProviderFactory

- All Implemented Interfaces:
    RealmProviderFactory, ProviderFactory<RealmProvider>

      public class MongoRealmProviderFactory
      extends Object
      implements RealmProviderFactory

  KeycloakSessionFactory implementation based on MongoDB
  Author:
    Marek Posolda

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static org.jboss.logging.Logger` | `logger`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MongoRealmProviderFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `RealmProvider` | `create(KeycloakSession session)`
    `String` | `getId()`
    `void` | `init(Config.Scope config)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### logger

          protected static final org.jboss.logging.Logger logger

  - ### Constructor Detail

    - #### MongoRealmProviderFactory

          public MongoRealmProviderFactory()

  - ### Method Detail

    - #### getId

          public String getId()

      Specified by:
        `getId` in interface `ProviderFactory<RealmProvider>`

    - #### init

          public void init(Config.Scope config)

      Specified by:
        `init` in interface `ProviderFactory<RealmProvider>`

    - #### create

          public RealmProvider create(KeycloakSession session)

      Specified by:
        `create` in interface `ProviderFactory<RealmProvider>`

    - #### close

          public void close()

      Specified by:
        `close` in interface `ProviderFactory<RealmProvider>`

Copyright © 2015. All Rights Reserved.