org.keycloak.models.sessions.mongo

## Class MongoUserSessionProviderFactory

- java.lang.Object
- - org.keycloak.models.sessions.mongo.MongoUserSessionProviderFactory

- All Implemented Interfaces:
    UserSessionProviderFactory, ProviderFactory<UserSessionProvider>

      public class MongoUserSessionProviderFactory
      extends Object
      implements UserSessionProviderFactory

  Author:
    Stian Thorgersen

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `ID`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MongoUserSessionProviderFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `UserSessionProvider` | `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

    - #### ID

          public static final String ID

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### MongoUserSessionProviderFactory

          public MongoUserSessionProviderFactory()

  - ### Method Detail

    - #### create

          public UserSessionProvider create(KeycloakSession session)

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

    - #### init

          public void init(Config.Scope config)

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

    - #### close

          public void close()

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

    - #### getId

          public String getId()

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

Copyright © 2015. All Rights Reserved.