org.keycloak.connections.jpa.updater.liquibase

## Class ThreadLocalSessionContext

- java.lang.Object
- - org.keycloak.connections.jpa.updater.liquibase.ThreadLocalSessionContext

-     public class ThreadLocalSessionContext
      extends Object

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ThreadLocalSessionContext()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static KeycloakSession` | `getCurrentSession()`
    `static void` | `removeCurrentSession()`
    `static void` | `setCurrentSession(KeycloakSession session)`

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

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

- - ### Constructor Detail

    - #### ThreadLocalSessionContext

          public ThreadLocalSessionContext()

  - ### Method Detail

    - #### getCurrentSession

          public static KeycloakSession getCurrentSession()

    - #### setCurrentSession

          public static void setCurrentSession(KeycloakSession session)

    - #### removeCurrentSession

          public static void removeCurrentSession()

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