[
https://issues.jboss.org/browse/AS7-4687?page=com.atlassian.jira.plugin.s...
]
Stefan Guilhen commented on AS7-4687:
-------------------------------------
Stuart is right. There is a system property that can be used to enable ThreadLocal usage
instead of InheritableThreadLocal.
We can set the org.jboss.security.context.ThreadLocal sys property to true in
standalone.xml and see how things go. If the AS needs this property to be always true we
can set it in the security subsystem when booting the AS.
Review the use of InheritableThreadLocal in
SecurityContextAssociation
----------------------------------------------------------------------
Key: AS7-4687
URL:
https://issues.jboss.org/browse/AS7-4687
Project: Application Server 7
Issue Type: Task
Components: Security
Reporter: Stuart Douglas
Assignee: Stefan Guilhen
There have been problems with the SecurityContext leaking into thread pools, due to the
use of the InheritableThreadLocal.
Do we still need this to be an InheritableThreadLocal? If so, is there anything we can do
to stop it from leaking into thread pools?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira