Ok.I already have send params from my other application to my Tomcat 
application and everything goes well, I make this with the j_security_check on 
a post method, and I track down the path with the debug log. The problem is 
that in the org.apache.catalina.authenticator.FormAuthenticator in the 
authenticate method the user is getting authenticated but when the user should 
be redirected to the initial saved request, null is returned. 
         So my problem is that I make programmaticaly just a request to my 
Tomcat web app authenticating the user per user params but I need somehow to 
tell the FormAuthenticator what the saved request should be. Any ideas?




Thanks!!!



________________________________
From: Pid <p...@pidster.com>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Mon, June 21, 2010 5:30:00 PM
Subject: Re: HTTP Status 408!

On 21/06/2010 15:20, neo21 zerro wrote:
> Hello,
> 
>  Problem finally solved :) Pid was right my encoding was not ok and a Cookie 
> was not passed over with the poste of the login page :) I needed to explicity 
> create a servlet and in that servler add to the response object the 
> JSSESIONID as a Cookie :)
> 
> I have another question can I login from another aplication programmicaly to 
> my app that runs on Tomcat with custom JAAS login module?

If the other app knows how to perform whatever custom JAAS login you've
built, then I don't see why not.


p

> ________________________________
> From: Martin Gainty <mgai...@hotmail.com>
> To: Tomcat Users List <users@tomcat.apache.org>
> Sent: Fri, June 11, 2010 11:16:09 PM
> Subject: RE: HTTP Status 408!
> 
> 
> can you post all of the code (including the html that houses the flex 
> components), display the full stacktrace and display environmental variables 
> from SET
> 
> Martin 
> ______________________________________________ 
> standard caveats apply
> 
> 
> 
> 
> 
>> Date: Fri, 11 Jun 2010 12:32:44 -0700
>> From: neo21_ze...@yahoo.com
>> Subject: Re: HTTP Status 408!
>> To: users@tomcat.apache.org
>>
>>
>>
>>
>>
>> I installed the Tomcat 7 RC but the problem persists.
>> So it's definitely a bug from my app. After the logout is made the redirect 
>> is made from flex(navigateToUrl - function) do you think this could be an 
>> issue?
>>
>>
>>
>>
>> ________________________________
>> From: Mark Thomas <ma...@apache.org>
>> To: Tomcat Users List <users@tomcat.apache.org>
>> Sent: Thu, June 10, 2010 10:35:48 PM
>> Subject: Re: HTTP Status 408!
>>
>> On 10/06/2010 15:39, neo21 zerro wrote:
>>>
>>> Yes I am requesting a protected resource but I don't know why is this 
>>> happening.
>>>
>>>
>>> I've tried to set all sort of cookies in my browser but nothing 
>>> works.....The problem is that I'm not using jsp like Pid said 
>>> and I think I should try to use jsp...for my login page.
>>> Are there other versions of Tomcat ? I mean newer versions, like 7 ?
>>
>> That assumes a) there is a bug in Tomcat and b) that it is fixed in a
>> newer version of 6.0.26.
>>
>> I have yet to see any evidence in this thread that there is a bug in Tomcat.
>>
>> Mark
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>>
>                          
> _________________________________________________________________
> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
> Hotmail. 
> http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
> 
> 
>      


      

Reply via email to