org.keycloak.models.sessions.jpa

## Class JpaUserSessionProviderFactory

- java.lang.Object
- - org.keycloak.models.sessions.jpa.JpaUserSessionProviderFactory

- All Implemented Interfaces:
    UserSessionProviderFactory, ProviderFactory<UserSessionProvider>

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

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

    - #### JpaUserSessionProviderFactory

          public JpaUserSessionProviderFactory()

  - ### Method Detail

    - #### init

          public void init(Config.Scope config)

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

    - #### getId

          public String getId()

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

    - #### create

          public UserSessionProvider create(KeycloakSession session)

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

    - #### close

          public void close()

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

Copyright © 2014. All Rights Reserved.