| Constructor and Description |
|---|
RefimplThreadLocalContextManager(com.atlassian.seraph.auth.AuthenticationContext authenticationContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearThreadLocalContext()
Clear the thread local context on the current thread
|
Principal |
getThreadLocalContext()
Get the thread local context of the current thread
|
void |
setThreadLocalContext(Principal context)
Set the thread local context on the current thread
|
@Inject public RefimplThreadLocalContextManager(com.atlassian.seraph.auth.AuthenticationContext authenticationContext)
public Principal getThreadLocalContext()
getThreadLocalContext in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<Principal>public void setThreadLocalContext(Principal context)
setThreadLocalContext in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<Principal>context - The context to setpublic void clearThreadLocalContext()
clearThreadLocalContext in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<Principal>Copyright © 2018 Atlassian. All rights reserved.