Class ClientDataSecurityContext

java.lang.Object
com.avoka.core.security.ClientDataSecurityContext

public class ClientDataSecurityContext extends Object
Provides thread local Groovy script client security execution context class.
Since:
4.2.0
  • Constructor Details

    • ClientDataSecurityContext

      public ClientDataSecurityContext()
  • Method Details

    • getThreadLocalClientId

      public static Long getThreadLocalClientId()
      Gets the thread local client id.
      Returns:
      the thread local client id
    • bindThreadLocalClientId

      public static void bindThreadLocalClientId(Long clientId)
      Bind thread local client id.
      Parameters:
      clientId - the client id