I think the proper way to do this is to implement the
PageValidateListener interface in your page class. Do the Acegi
validation in the pageValidate method and forward to any page you like
using the request cycle.

-----Oorspronkelijk bericht-----
Van: Phillip Rhodes [mailto:[EMAIL PROTECTED] 
Verzonden: zaterdag 24 maart 2007 18:37
Aan: Tapestry users
Onderwerp: Getting url to tapestry page from acegi filter?

I am writing a acegi filter that needs to send a redirect to a specific
tapestry page.  For now, I will just do a static absolute url (i.e.
"/authsumserver/app?page=GroupRegistration&service=page") but knowing
that this is a fragile solution, I was wondering if there is a way to
call a tapestry service from a filter to get a url to a page?

To give context to what I am doing in my acegi post login processing is
checking to see if a user needs to perform additional registration for
that particular application he/she is accessing, and redirecting to that
registration page.

Thanks!

        


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

***     Waterschap Aa en Maas, met water in de weer!     ***
        Kijk voor meer informatie op www.aaenmaas.nl

############################################################################################
Disclaimer:
Dit e-mail bericht is slechts bestemd voor de (rechts)persoon aan wie het is 
gericht en 
kan informatie bevatten die persoonlijk of vertrouwelijk is en niet openbaar 
mag worden 
gemaakt krachtens wet- of regelgeving of overeenkomst. Indien een ander dan 
geadresseerde
dit e-mail bericht ontvangt of anderszins in handen krijgt is hij niet 
gerechtigd tot 
kennisneming, verspreiding, openbaar maken of vermenigvuldigen daarvan. Hij 
wordt verzocht
onmiddellijk waterschap Aa en Maas telefonisch (telefoon: +31 (0)73 6156666) op 
de hoogte 
te stellen en het e-mail bericht te vernietigen. Waterschap Aa en Maas staat 
niet in
voor de juiste en volledige overbrenging van de inhoud van een verzonden 
e-mail, noch voor 
tijdige ontvangst daarvan. Dit e-mail bericht brengt geen enkele contractuele 
gebondenheid 
voor waterschap Aa en Maas tot stand.

Dit e-mail bericht is gecontroleerd op Virussen.
##############################################################################################

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to