Re: Tapestry-security 0.2.0 released!

2010-07-02 Thread Kalle Korhonen
On Thu, Jul 1, 2010 at 11:39 PM, Borut Bolčina  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 
>
>> 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



Re: Tapestry-security 0.2.0 released!

2010-07-02 Thread Pierce Wetter

>> That is a wonderful news! As it just happens, I will begin to code a new T5
>> app just today, and guess what, I won't craft a new security solution by
>> myself thanks to you guys. :-)

  Oh, and the whole permissions thing rocks. Having just roles was never going 
to do it for me. 

 Pierce


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



Re: Tapestry-security 0.2.0 released!

2010-07-02 Thread Pierce Wetter

On Jul 1, 2010, at 11:39 PM, Borut Bolčina wrote:

> That is a wonderful news! As it just happens, I will begin to code a new T5
> app just today, and guess what, I won't craft a new security solution by
> myself thanks to you guys. :-)
> 
> 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 thought of starting this new T5 app with 5.2-SNAPSHOT, what are the
> chances it will work?
> 
> Re

   It's working for me, I'm using 5.2.0-SNAPSHOT. 

   I tried to use tapestry-spring-security, but the login part, which was what 
I needed to customize the most, defeated me, and so I ported myself to 
tapestry-security. My only real problem with porting myself was that I only 
have about 4 significant letters in my brain so I kept confusing authentication 
with authorization. 

  Pierce


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



Re: Tapestry-security 0.2.0 released!

2010-07-01 Thread Borut Bolčina
That is a wonderful news! As it just happens, I will begin to code a new T5
app just today, and guess what, I won't craft a new security solution by
myself thanks to you guys. :-)

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 thought of starting this new T5 app with 5.2-SNAPSHOT, what are the
chances it will work?

Regards,
Borut

2010/7/2 Kalle Korhonen 

> 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
>
>


Re: Tapestry-security 0.2.0 released!

2010-07-01 Thread Kalle Korhonen
On Thu, Jul 1, 2010 at 7:05 PM, Greg Pagendam-Turner
 wrote:
> Great work Kalle. Has it been tested against Tapestry 5.2?

No, the integration tests are running only against T5.1.0.5. It's
quite possible some tweaks are needed for 5.2; if so we'll get the
snapshots going with it in the coming days.

Kalle


> On 2/07/2010 12:01 PM, Kalle Korhonen wrote:
>>
>> 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
>
>

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



Re: Tapestry-security 0.2.0 released!

2010-07-01 Thread Greg Pagendam-Turner

Great work Kalle. Has it been tested against Tapestry 5.2?

Greg.

On 2/07/2010 12:01 PM, Kalle Korhonen wrote:

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



Tapestry-security 0.2.0 released!

2010-07-01 Thread Kalle Korhonen
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