Re: Populating Tapestry ASO after successful Acegi Auth

2006-08-31 Thread Arjan Verstoep
[EMAIL PROTECTED] wrote: Greetings: I'm using Tapestry 4 and Acegi 1.0.1. I have acegi set up to perform authentication using the AuthenticationProcessingFilter. I have a requirement to place the domain object the Acegi UserDetails object is based upon into a Tapestry ASO for use during the us

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Jonathan Barker
l with any problems later. I hope that helps. JB > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 30, 2006 10:29 AM > To: users@tapestry.apache.org > Subject: RE: Populating Tapestry ASO after successful Acegi Auth > > Hi Joh

Re: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Massimo Lusetti
On 8/30/06, James Carman <[EMAIL PROTECTED]> wrote: Well, hopefully we can move all of this stuff into a Tapestry Commons subproject of the TLP. Then we won't have these issues. Indeed that would be comfortable :) -- Massimo http://meridio.blogspot.com ---

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread James Carman
t: RE: Populating Tapestry ASO after successful Acegi Auth James: I can't get access to the svn repo. Can you send the jars? Thanks, -jason -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:41 AM To: 'Tapestry users' Subject: RE:

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Jason.Yankus
James: I can't get access to the svn repo. Can you send the jars? Thanks, -jason -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:41 AM To: 'Tapestry users' Subject: RE: Populating Tapestry ASO after successful Aceg

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread James Carman
2006 10:29 AM To: users@tapestry.apache.org Subject: RE: Populating Tapestry ASO after successful Acegi Auth Hi John, Just curious. . . would that code need to be inserted in *every* page's pageValidate() method considering that a user can bookmark or type in any secured URL? Acegi will

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Thomas.Vaughan
rs' Subject: RE: Populating Tapestry ASO after successful Acegi Auth I can't say it's a best practice, but it should be a reasonable strategy. In your pageValidate() method, if your ASO is not set Authentication auth = SecurityContext.

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Jonathan Barker
I can't say it's a best practice, but it should be a reasonable strategy. In your pageValidate() method, if your ASO is not set Authentication auth = SecurityContext.getContext().getAuthentication(); If auth is not null