org.keycloak.models.sessions.mem

## Class MemUserSessionProviderFactory

- java.lang.Object
- - org.keycloak.models.sessions.mem.MemUserSessionProviderFactory

- All Implemented Interfaces:
    UserSessionProviderFactory, ProviderFactory<UserSessionProvider>

      public class MemUserSessionProviderFactory
      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
    `MemUserSessionProviderFactory()`

  - ### 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

    - #### MemUserSessionProviderFactory

          public MemUserSessionProviderFactory()

  - ### 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 © 2014. All Rights Reserved.