On Thu, Jul 1, 2010 at 11:39 PM, Borut Bolčina <borut.bolc...@gmail.com> wrote: > I've used tapestry-spring-security for our former project (200K registered > users) so I am very interested to see what is the overall experience in > using this new Shiro-Tapestry combo. I see it has some nice components out > of the box which is very cool.
I used to be a long-time user of Acegi Security myself but eventually got fed up with the convoluted and inflexible API, so I started searching for alternatives and the rest is history as they say. > I thought of starting this new T5 app with 5.2-SNAPSHOT, what are the > chances it will work? Your mileage will vary. As Pierce commented, you can use tapestry-security with 5.2 right now but there are a few issues and we are not officially supporting it, whatever that means for an open source project. Specifically, the issue is related to handling annotation-originated security exceptions. It's handled by an advice for an exception handler, and apparently T5.2 doesn't allow you to anymore simply do PageResponseRenderer.renderPageResponse() after you've started processing a different page, but throws "org.apache.tapestry5.ioc.internal.util.TapestryException: The identity of the active page for this request has not yet been established". Makes sense really. Anyhow, it's not a major issue, I'll see if there's a way to do some reinitialization or perhaps more likely, I'll use the handy-dandy tapestry-exceptionpage module for this case as well - even if you start your project right now I'm sure I'll get a new version of tapestry-security out before you are anywhere close to completing your project. Kalle > 2010/7/2 Kalle Korhonen <kalle.o.korho...@gmail.com> > >> As an Apache Shiro committer and a strong proponent of Tapestry, I'm >> proud to announce the 0.2.0 release and immediate availability of >> tapestry-security module, which represents the best and most >> comprehensive security framework integration for Tapestry 5 >> applications. I can say that since it's largely written by others :) >> Tapestry-security is based on the great work by Valentin Yerastov, the >> original author of tapestry-jsecurity. Later on, JSecurity became an >> Apache project and was renamed to Apache Shiro, the first official >> release of which (as an Apache project) was recently made. Alejandro >> Scandroli, who else, updated the code to use the latest Shiro APIs and >> finally, we added a few other bells and whistles on top of it all. >> Pierce Wetter gets an honorable mention of being a guinea pig and >> starting to use tapestry-security all without documentation (so it >> can't be that bad). Now both tapestry-security and Shiro even have >> proper documentation, read more from our tapestry-security guide >> (http://tynamo.org/tapestry-security+guide). Hope you find the module >> as useful as we have! >> >> Enjoy, >> Tynamo team >> >> --------------------------------------------------------------------- >> 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