Class ClientDataSecurityContext


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

      • ClientDataSecurityContext

        public ClientDataSecurityContext()
    • Method Detail

      • 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