Re: Re: Re: tapestry-acegi questions

2006-11-16 Thread Robin Ericsson
On 11/14/06, Robin Ericsson [EMAIL PROTECTED] wrote: Hmm, no, never though of that, might be a good idea though. I'll see if I have time to try this today. Ok, debugged and problem found. Safari seems to like to cache the result of the first query to the protected page. I was using a proxy

Re: Re: tapestry-acegi questions

2006-11-14 Thread Robin Ericsson
On 11/12/06, Robin Ericsson [EMAIL PROTECTED] wrote: Thanks to James again :), I have a working solution that redirects after successful login. However, on Firefox it works like a charm, but on Safari it doesn't work as it seems it doesn't process cookies or something the same way. Maybe I

Re: Re: tapestry-acegi questions

2006-11-14 Thread James Carman
Oh, sorry, Robin. I read your last email, but only through the thanks, I've got it working part. :-) I didn't see the questions at the bottom. Do you have something that will let you debug the HTTP traffic? That might help you see what's going on for sure. On 11/14/06, Robin Ericsson [EMAIL

Re: Re: tapestry-acegi questions

2006-11-14 Thread Robin Ericsson
On 11/14/06, James Carman [EMAIL PROTECTED] wrote: Oh, sorry, Robin. I read your last email, but only through the thanks, I've got it working part. :-) I didn't see the questions at the bottom. Do you have something that will let you debug the HTTP traffic? That might help you see what's

Re: Re: tapestry-acegi questions

2006-11-12 Thread Robin Ericsson
On 11/10/06, James Carman [EMAIL PROTECTED] wrote: You could use a callback somehow to do that, I would think. But, you would probably have to implement the auto-redirect-to-login-page logic yourself, so that you could save the callback into the session or set it on the login page as a property

Re: tapestry-acegi questions

2006-11-10 Thread Robin Ericsson
On 11/3/06, James Carman [EMAIL PROTECTED] wrote: Maybe you could just create your own Tapestry form (just like you do for any other page) and submit it. Within the form's processing, you could use the Acegi API (SecurityContextHolder.getContext().setAuthentication() maybe?) to set up the

Re: tapestry-acegi questions

2006-11-10 Thread James Carman
You could use a callback somehow to do that, I would think. But, you would probably have to implement the auto-redirect-to-login-page logic yourself, so that you could save the callback into the session or set it on the login page as a property or something. On 11/10/06, Robin Ericsson [EMAIL

Re: tapestry-acegi questions

2006-11-03 Thread Jesper Zedlitz
James Carman wrote: Then you're not really using tapestry-acegi. You don't need Spring at all to use tapestry-acegi. But how do I wire /j_acegi_security_check to Acegi? Here is a short summary what I tried until now: * Login page forwards to /j_acegi_security_check? * add a filter that

Re: tapestry-acegi questions

2006-11-03 Thread James Carman
What URL mapping are you using for your Tapestry application servlet? On 11/3/06, Jesper Zedlitz [EMAIL PROTECTED] wrote: James Carman wrote: Then you're not really using tapestry-acegi. You don't need Spring at all to use tapestry-acegi. But how do I wire /j_acegi_security_check to Acegi?

Re: tapestry-acegi questions

2006-11-03 Thread Jesper Zedlitz
James Carman wrote: What URL mapping are you using for your Tapestry application servlet? This is my mapping without my Acegi experiments: filter filter-nameredirect/filter-name filter-classorg.apache.tapestry.RedirectFilter/filter-class /filter servlet

Re: tapestry-acegi questions

2006-11-03 Thread James Carman
Maybe the form-based security should declare its own dummy engine service? That might be the way to go. I don't know. I'd have to play around with it some. On 11/3/06, Jesper Zedlitz [EMAIL PROTECTED] wrote: James Carman wrote: What URL mapping are you using for your Tapestry application

Re: tapestry-acegi questions

2006-11-03 Thread James Carman
Maybe you could just create your own Tapestry form (just like you do for any other page) and submit it. Within the form's processing, you could use the Acegi API (SecurityContextHolder.getContext().setAuthentication() maybe?) to set up the security context, authenticating however you want. The

Re: tapestry-acegi questions

2006-11-02 Thread James Carman
You're switching to using Spring instead of HiveMind? On 11/2/06, Jesper Zedlitz [EMAIL PROTECTED] wrote: Jesper Zedlitz wrote: When I try to access a secured page it works fine and I get to the login page. After submitting the login form I will be redirected to /j_acegi_security_check But

Re: tapestry-acegi questions

2006-11-02 Thread Jesper Zedlitz
You're switching to using Spring instead of HiveMind? The web application does not start if I do not create a Spring bean: Bean context must contain at least one bean of type org.acegisecurity.ui.webapp.AuthenticationProcessingFilter Jesper -- Jesper Zedlitz E-Mail : [EMAIL PROTECTED]

Re: tapestry-acegi questions

2006-11-02 Thread James Carman
Then you're not really using tapestry-acegi. You don't need Spring at all to use tapestry-acegi. On 11/2/06, Jesper Zedlitz [EMAIL PROTECTED] wrote: You're switching to using Spring instead of HiveMind? The web application does not start if I do not create a Spring bean: Bean context must

Re: tapestry-acegi questions

2006-11-01 Thread Jesper Zedlitz
James Carman wrote: I haven't implemented form-based authentication in tapestry-acegi, yet. But, I don't think it's that difficult, really. Your need to use the AuthenticationProcessingFilter (I don't define it in my hivemodule.xml, but it would be easy to do so in yours) and your form has

RE: Re: tapestry-acegi questions

2006-11-01 Thread Thomas.Vaughan
PROTECTED] On Behalf Of Jesper Zedlitz Sent: Wednesday, November 01, 2006 8:52 AM To: users@tapestry.apache.org Subject: Re: tapestry-acegi questions James Carman wrote: I haven't implemented form-based authentication in tapestry-acegi, yet. But, I don't think it's that difficult, really. Your

Re: Re: tapestry-acegi questions

2006-11-01 Thread James Carman
Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jesper Zedlitz Sent: Wednesday, November 01, 2006 8:52 AM To: users@tapestry.apache.org Subject: Re: tapestry-acegi questions James Carman wrote: I haven't implemented form-based authentication in tapestry-acegi, yet. But, I don't

RE: Re: tapestry-acegi questions

2006-11-01 Thread Thomas.Vaughan
Ohhh...sorry 'bout that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Carman Sent: Wednesday, November 01, 2006 9:08 AM To: Tapestry users Subject: Re: Re: tapestry-acegi questions With Tapestry-Acegi, we're not using the Acegi servlet filter

Re: tapestry-acegi questions

2006-11-01 Thread Robin Ericsson
On 11/1/06, Jesper Zedlitz [EMAIL PROTECTED] wrote: When I try to access a secured page it works fine and I get to the login page. After submitting the login form I will be redirected to /j_acegi_security_check But how do I wire this URL to Acegi? This is where I am too. I was thinking of

Re: tapestry-acegi questions

2006-11-01 Thread James Carman
The value you gave for the symbol de.zedlitz.tapestry.acegi.FormProcessingFilter, is that a service id or a class name (I guess it could be both)? It definitely needs to be a service id, though. On 11/1/06, Jesper Zedlitz [EMAIL PROTECTED] wrote: James Carman wrote: I haven't implemented

Re: Re: tapestry-acegi questions

2006-10-30 Thread Gareth
hi, I'm using the TableView component on what can be visulised as a search page. The whole page is wrapped in a form (so that the paging buttons etc submit the search criteria), and the Form version of TableRow and TablePages are used. Everything appears to work except... I have 2 gripes that

Re: Re: tapestry-acegi questions

2006-10-30 Thread Robin Ericsson
On 10/30/06, Gareth [EMAIL PROTECTED] wrote: hi, I'm using the TableView component on what can be visulised as a search page. Hi, Please don't steal other threads with a new question. -- regards, Robin - To

tapestry-acegi questions

2006-10-29 Thread Robin Ericsson
Hi, There still isn't any tapestry-acegi specific list is there? What I like is to have is to use a webpage for login instead of http basic auth. However, after checking the source of tapestry-acegi it seems like a monster to accomplish based on that I know practially not much at all about

Re: tapestry-acegi questions

2006-10-29 Thread James Carman
Hi, Robin. I haven't implemented form-based authentication in tapestry-acegi, yet. But, I don't think it's that difficult, really. Your need to use the AuthenticationProcessingFilter (I don't define it in my hivemodule.xml, but it would be easy to do so in yours) and your form has to have two

Re: Re: tapestry-acegi questions

2006-10-29 Thread Robin Ericsson
On 10/29/06, James Carman [EMAIL PROTECTED] wrote: Hi, Robin. I haven't implemented form-based authentication in tapestry-acegi, yet. But, I don't think it's that difficult, really. Your need to use the AuthenticationProcessingFilter (I don't define it in my hivemodule.xml, but it would be

Re: Re: tapestry-acegi questions

2006-10-29 Thread Shing Hing Man
Step C at the following might help. http://wiki.javascud.org/display/hsa/Acegi+and+Tapestry--A+Step-by-Step+Guide shing --- Robin Ericsson [EMAIL PROTECTED] wrote: On 10/29/06, James Carman [EMAIL PROTECTED] wrote: Hi, Robin. I haven't implemented form-based authentication in