----- Original Message -----
From: "Lindanger Trond Kjetil" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "�lberg Egil"
<[EMAIL PROTECTED]>
Sent: Wednesday, October 10, 2001 12:22 PM
Subject: Cactus - Security


> Hi.
> We are using Cactus in a big J2EE project and find the tool to be very
> useful. Thanks to all developers.
> Lately we found out that Cactus does not support unit testing of Servlet
> code that uses Security APIs.
> This forced us to code and test as lot as possible before adding security
to
> the EJB's, since the tests will not be able to create the EJB's, and
> therefore fail, afterwards.

something I don't understand here ...  do you want to unit test servlets or
EJB ?

Yes, at the current time, it is not possible to unit test servlet who uses
security API (although it is easy to bypass this - see other mails on the
subject). However, there are no restrictions for unit testing EJBs using
security features !

See the thread "Testing EJB", it gives detail on how to unit test EJB with
security activated (although this has nothing to do with Cactus !).
check :
http://www.mail-archive.com/cactus-user%40jakarta.apache.org/msg00574.html

> Can anybody tell when/ if this functionality will be added?

for servlets, it depends on how fast someone will volunteer to write it ...
:)

> At the moment we are, unfortunately, not able to participate in the
> development work of Cactus.
>

come back when you have mor time ... :)

> Regards,
> Trond Lindanger
> TietoEnator
>

Thanks
-Vincent

Reply via email to