org.jboss.test
Class ThreadLocalTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.ThreadLocalTestCase

public class ThreadLocalTestCase
extends TestCase

Tests of propagating the security identity across threads using InheritableThreadLocal.

See Also:
Serialized Form

Constructor Summary
ThreadLocalTestCase(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void testSecurityPropagation()
           
 void testSecurityPropagation2()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalTestCase

public ThreadLocalTestCase(java.lang.String name)
Method Detail

testSecurityPropagation

public void testSecurityPropagation()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testSecurityPropagation2

public void testSecurityPropagation2()
                              throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)