Hi,

I am using form-based authentication provided by my container. THe problem
is that in my servlets I have:

request.getPrincipalUser() and I see no way to set a principal user into the
implicit request object. My question is - do I have to remove the
logon/security for testing with Cactus? I looked at the API and couldnt find
anything there that seemed relevant to my problem ...

The only solution I can think of is somehow use httpunit to first login
before executing each unit test?

thanks
pratima

Reply via email to