Re: Service Injection for Base Pages

2007-03-07 Thread Chris Davies
ds, Chris On 07/03/07, Thiago H de Paula Figueiredo <[EMAIL PROTECTED]> wrote: On Wed, 07 Mar 2007 17:03:46 -0300, Chris Davies <[EMAIL PROTECTED]> wrote: > Is there a clean way to inject this service into my BaseProtectedPage? can you use java 5 or 6? if yes, just use some of t

Service Injection for Base Pages

2007-03-07 Thread Chris Davies
Dear fellow Tap-fans, I'm looking to implement a very simple, re-usable security library for my web applications. The path I'm going down is one that seems to be common (and embraced by Howard himself) - extending BasePage and implementing the PageValidateListener to perform authorization checks

Page Visitor IP Address/Port

2007-01-17 Thread Chris Davies
Hi, How is it possible to get the IP address and port of a visitor to a Page? I've been trying to figure this out for quite a while now (so I can insert useful information into log messages), but to no avail. The closest (crummy) solution I've found is to use a deprecated function to access the