Hi Joe,

I am using the cactus form-based authentication with
strutstest and it is working fine.  Can you provide a
little more information about your error?  The
redirects are supposed to be set to false...there is
something else going on.

-- Jason

-- Jason
--- Joseph Milora <[EMAIL PROTECTED]> wrote:
> Not to be rude, but...
> 
> Is anyone on this list???????
> 
> 
> 
> ----- Original Message -----
> From: "Joseph Milora" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 07, 2003 4:23 PM
> Subject: followRedirects is false
> 
> 
> Hi,
> 
> I'm using the cactus and the struts test
> case[updated to work with the
> cactus nightly build]
>  frameworks to test my application and I keep
> receiving
> 
> Redirect requested but followRedirects is disabled.
> 
> I'm trying to test some methods on my EJBs, but I
> need to set the security
> credentials in order to successfully call those
> methods.
> 
> I use form authentication, and redirect to a login
> page, which uses JBoss
> and JAAS to get the security
> credentials from the database. I've also tried using
> basic authentication,
> putting the ServletRedirector in
> the url-pattern of the web resource collection, and
> I receive the same
> message. I use either
> 
> webRequest.setAuthentication(new
> FormAuthentication("username",
> "password"));   or
> 
> webRequest.setAuthentication(new
> BasicAuthentication("username",
> "password"));
> 
> (updating the web.xml to the appropriate security
> settings)
> 
> So I can't test my EJB method calls, and I can't
> verify action forwards
> because instead of the expected
> 
> forward I get:
>
Cactus_TestMethod=testCorrectScope&Cactus_TestClass=us.mistura.web.actions.F
>
eatureActionTEST&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST
> 
> Is there a way to do this?
> 
> Thanks in advance,
> 
> Joe Milora
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to