7 Replies Latest reply on Aug 1, 2007 9:56 AM by Matt Wringe

    JSFUnit and Security

    Matt Wringe Master

      I am trying to use JSFUnit with a secured web page, I followed the directions on the cactus web page http://jakarta.apache.org/cactus/writing/howto_security.html but this does not work.

      The session object is specified using a threadlocal variable in org.jboss.jsfunit.framework.WebConversationFactory, this variable gets set when under the normal test redirector, but the secure redirector is in another thread and so the value is null and the tests cannot be run.

      Should the cactus way of running secure tests be followed, or is there some special JSFUnit way of doing it?