@Component public class BambooThreadLocalContextManager extends Object implements com.atlassian.sal.api.executor.ThreadLocalContextManager<org.acegisecurity.context.SecurityContext>
Constructor and Description |
---|
BambooThreadLocalContextManager() |
Modifier and Type | Method and Description |
---|---|
void |
clearThreadLocalContext()
Clear the thread local context on the current thread
|
org.acegisecurity.context.SecurityContext |
getThreadLocalContext()
Get the thread local context of the current thread
|
void |
setThreadLocalContext(org.acegisecurity.context.SecurityContext context)
Set the thread local context on the current thread
|
public org.acegisecurity.context.SecurityContext getThreadLocalContext()
getThreadLocalContext
in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<org.acegisecurity.context.SecurityContext>
public void setThreadLocalContext(org.acegisecurity.context.SecurityContext context)
setThreadLocalContext
in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<org.acegisecurity.context.SecurityContext>
context
- The context to setpublic void clearThreadLocalContext()
clearThreadLocalContext
in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<org.acegisecurity.context.SecurityContext>
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.