riginal Message-
From: Chris Lewis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2008 10:04 PM
To: Tapestry users
Subject: Re: Trying to Implement RedirectException in Tapestry 5
Ben Wong wrote:
> I decided against the dispatcher approach for the reasons ville.virtanen
> brough
Ben Wong wrote:
> I decided against the dispatcher approach for the reasons ville.virtanen
> brought up. The dispatcher will have to know what pages are secured and
> which aren't.
>
>
Whatever authentication system you use will be burdened with the same
issue. After all it is a critical var
L PROTECTED]
Sent: Wednesday, August 20, 2008 9:30 AM
To: Tapestry users
Subject: Re: Trying to Implement RedirectException in Tapestry 5
I love the dispatcher approach for this, I like it simply because it removes
security concerns from pages and is lightweight and customizable.
- Origin
Yea - to quote you from http://issues.apache.org/jira/browse/TAPESTRY-647
"Which just goes to show why using exceptions for this kind of control
flow really is a bad idea! I'll fix it on my next framework, promise!"
:)
On Wed, Aug 20, 2008 at 3:45 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
-
From: Peter Stavrinides [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2008 9:30 AM
To: Tapestry users
Subject: Re: Trying to Implement RedirectException in Tapestry 5
I love the dispatcher approach for this, I like it simply because it removes
security concerns from pages and is light
, not the
standard tapestry one. I don't know if this makes a difference.
Thanks,
Ben
-Original Message-
From: 9902468 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2008 6:23 AM
To: users@tapestry.apache.org
Subject: Re: Trying to Implement RedirectException in Tapestry
Em Wed, 20 Aug 2008 11:55:03 -0300, Markus Joschko
<[EMAIL PROTECTED]> escreveu:
Just want to throw in a non security related use case. Imagine a
wizard where the user jumps to the url of step3 before completing
step1.
A dispatcher approach would be overkill and the onactivate method
seems to
pages and is lightweight and customizable.
>
>
> - Original Message -
> From: "9902468" <[EMAIL PROTECTED]>
> To: users@tapestry.apache.org
> Sent: Wednesday, 20 August, 2008 4:30:05 PM GMT +02:00 Athens, Beirut,
> Bucharest, Istanbul
> Subject: Re:
05 PM GMT +02:00 Athens, Beirut,
Bucharest, Istanbul
Subject: Re: Trying to Implement RedirectException in Tapestry 5
On a side note, it's a bad thing to hard code allowed roles to page, we use a
service that is queried if this role is allowed to access this page (Or
execute this action.).
request cycle... Thanks for the
>> pointer!
>> (Always nice to do things right and to learn :))
>
> :)
>
> Thiago
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional com
gt; And your approach occurs earlier in the request cycle... Thanks for the
>> pointer!
>> (Always nice to do things right and to learn :))
>
> :)
>
> Thiago
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>
Em Wed, 20 Aug 2008 09:38:36 -0300, 9902468 <[EMAIL PROTECTED]>
escreveu:
One possibility yes, but that approach requires to keep a list of secured
pages to allow un-authorized users access non-secure pages.
(Pages could of course be annotated to be secure or use marker
interface.)
That's
be a better place to do these
> checks?
>
> Thiago
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Trying-to-Implem
Em Wed, 20 Aug 2008 08:23:12 -0300, 9902468 <[EMAIL PROTECTED]>
escreveu:
I have also noticed that onActivate is a bad place to check general
access rights as you cannot be sure that the check implemented to base
class is not overridden or if developer uses one of the
onActivate(param) va
On Wed, Aug 20, 2008 at 2:45 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Using exceptions for control flow was never one of Tapestry great
> ideas; that's why its gone in Tapestry 5. Exceptions are exceptions,
> representing things that have failed.
>
> In any case, the activate event is a
gt;
>>
>>
>> Thanks in advance,
>>
>> Ben Wong
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> -
> To unsubscribe, e
Using exceptions for control flow was never one of Tapestry great
ideas; that's why its gone in Tapestry 5. Exceptions are exceptions,
representing things that have failed.
In any case, the activate event is a good place to perform checks.
The return vaslue from onActivate() (the name of the even
Hi everyone,
We have been using Tapestry 3 + Spring + Acegi for the last three years and
had a pretty decent integrated architecture going. Now we are trying to
replace Tapestry 3 with Tapestry 5. One of the things I am trying to do is
duplicate a base Tapestry page class that checks if the u
18 matches
Mail list logo