Re: [T5.1.0.5] Big issue with @Secure
I've proposed a patch. Please don't blame me, it's my first one for Tapestry ;-) Nicolas Bouillon a écrit : Done. https://issues.apache.org/jira/browse/TAPESTRY-2763 I've enclosed a test project. Howard Lewis Ship a écrit : I think you are right; there is definitely some interference between @Secure and your activation context. Please add an issue. On Thu, Mar 25, 2010 at 11:50 AM, Nicolas Bouillon wrote: Hi, I have a major (i'm close to putting my app in production) issue with the @Secure. I have a page with the following onActivate : public void onActivate(String domainName, Integer domainId) i have the corresponding on passivate public Object[] onPassivate() { return new Object[] { domainName, domainId }; } The parent class of my page is annoted with @Secure When i get httpS://localhost/myPage/bouil.org/42 everything is fine when i get http://localhost/myPage/bouil.org/42 (non https), I got a 302 redirected to http://localhost/myPage/$N/$N So the context is lost ! I'm running Tapestry 5.1.0.5 Any help will be greatly appreciated. Nicolas. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [T5.1.0.5] Big issue with @Secure
Done. https://issues.apache.org/jira/browse/TAPESTRY-2763 I've enclosed a test project. Howard Lewis Ship a écrit : I think you are right; there is definitely some interference between @Secure and your activation context. Please add an issue. On Thu, Mar 25, 2010 at 11:50 AM, Nicolas Bouillon wrote: Hi, I have a major (i'm close to putting my app in production) issue with the @Secure. I have a page with the following onActivate : public void onActivate(String domainName, Integer domainId) i have the corresponding on passivate public Object[] onPassivate() { return new Object[] { domainName, domainId }; } The parent class of my page is annoted with @Secure When i get httpS://localhost/myPage/bouil.org/42 everything is fine when i get http://localhost/myPage/bouil.org/42 (non https), I got a 302 redirected to http://localhost/myPage/$N/$N So the context is lost ! I'm running Tapestry 5.1.0.5 Any help will be greatly appreciated. Nicolas. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [T5.1.0.5] Big issue with @Secure
I think you are right; there is definitely some interference between @Secure and your activation context. Please add an issue. On Thu, Mar 25, 2010 at 11:50 AM, Nicolas Bouillon wrote: > Hi, > > I have a major (i'm close to putting my app in production) issue with the > @Secure. > > I have a page with the following onActivate : > > public void onActivate(String domainName, Integer domainId) > > i have the corresponding on passivate > > public Object[] onPassivate() { > return new Object[] { domainName, domainId }; > } > > The parent class of my page is annoted with @Secure > > When i get > > httpS://localhost/myPage/bouil.org/42 everything is fine > > when i get http://localhost/myPage/bouil.org/42 (non https), > I got a 302 redirected to > http://localhost/myPage/$N/$N > > So the context is lost ! > > I'm running Tapestry 5.1.0.5 > > Any help will be greatly appreciated. > > Nicolas. > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org