You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by aahsanJamshaid <ah...@techno-soft.com> on 2009/05/08 06:58:17 UTC

Re: Pause after successfull authentication

First sorry peter for late reply. Actually i have done almost same by adding
dummy loop but that work randomly. Sometime it works and sometime not. Is
there any configuration in acegi/spring to wait until request fwded manually
or adding some delay.

thanks





Peter Stavrinides wrote:
> 
> How about:
> 
> while(taskInProgress){
> Thread.sleep(SLEEP_INTERVAL);
> }
> 
> 
> ----- Original Message -----
> From: "aahsanJamshaid" <ah...@techno-soft.com>
> To: users@tapestry.apache.org
> Sent: Friday, 27 February, 2009 15:45:35 GMT +02:00 Athens, Beirut,
> Bucharest, Istanbul
> Subject: Pause after successfull authentication
> 
> 
> I have a application with acegi configured through spring. It uses Spring,
> Tapestry, Hivemodule. I do manul authentication in tapestry java file by
> ProcessingFilterClassObject.attemptAuthentication( username, password ).
> 
> Everything works good, and after successfull authentication user is
> redirected to URL defined for "defaultTargetUrl" property. 
> 
> After successfull authentication i need to do some processing and set the
> things in session before control goes to "defaultTargetUrl". Is it
> possible
> to hold to control and release it manually after my processing is
> completed.  
> 
> -- 
> View this message in context:
> http://n2.nabble.com/Pause-after-successfull-authentication-tp2395702p2395702.html
> Sent from the Tapestry Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/Pause-after-successfull-authentication-tp2395702p2843603.html
Sent from the Tapestry Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org