Menu

#44 SecurityAssociation now uses ITL

v2.2.2
closed
nobody
None
5
2001-08-25
2001-05-20
No

The org.jboss.security.SecurityAssociation class has
been changed. The default multi-threaded mode storage
of security information uses InheritableThreadLocal.

When the server property has
been set to true, the security information is
maintained in thread local
storage. The type of thread local storage depends on the
org.jboss.security.SecurityAssociation.ThreadLocal
property.
If this property is true, then the thread local storage
object is of
type java.lang.ThreadLocal which results in the current
thread's
security information NOT being propagated to child threads.

When the property is false or does not exist, the
thread local storage object
is of type java.lang.InheritableThreadLocal, and any
threads spawned by the
current thread will inherit the security information of
the current thread.
Subseqent changes to the current thread's security
information are NOT
propagated to any previously spawned child threads.

Discussion

  • Scott M Stark

    Scott M Stark - 2001-05-24
    • milestone: 115151 --> v2.2.2
     
  • Juha Lindfors

    Juha Lindfors - 2001-08-25
    • status: open --> closed
     

Log in to post a comment.