Package com.avoka.core.security
Class ClientDataSecurityContext
java.lang.Object
com.avoka.core.security.ClientDataSecurityContext
Provides thread local Groovy script client security execution context class.
- Since:
- 4.2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
bindThreadLocalClientId
(Long clientId) Bind thread local client id.static Long
Gets the thread local client id.
-
Constructor Details
-
ClientDataSecurityContext
public ClientDataSecurityContext()
-
-
Method Details
-
getThreadLocalClientId
Gets the thread local client id.- Returns:
- the thread local client id
-
bindThreadLocalClientId
Bind thread local client id.- Parameters:
clientId
- the client id
-