Matt,
Ok its working.
I added my own filter into the chain to see what it was doing, when it came
to the call to j_acegi_switch_user it was not called at all! I then went to
my web.xml and realised that the j_security_check was in there so I added my
security url's and blow me down, it started
Matt,
Nearly there now I think. I am pretty sure the problem is in the pattern
matching. It does not match when I do the following:-
">
Yet, if I ask it to do a j_security_check it goes to the login page.
Looking at the source code for the class if I got any further I woul
I have a requirement to add this functionality in one of my projects.
I don't know when I'll get around to trying to implement it, but
hopefully in the next week or so.
Matt
On 4/18/07, Nigel in NZ <[EMAIL PROTECTED]> wrote:
Matt,
Thanks for that. I spent some time this evening looking at it
Matt,
Thanks for that. I spent some time this evening looking at it but it is now
12:15am so must stop!
I added my switchUserProcessingFilter to my filterChainProxy, I created,
/j_acegi_switch_user
/j_acegi_exit_user
/main.jsp
I then tried calli
You might try using Acegi's Switch User feature:
http://www.acegisecurity.org/multiproject/acegi-security/apidocs/org/acegisecurity/ui/switchuser/SwitchUserProcessingFilter.html
http://tinyurl.com/23vgf9
Matt
On 4/17/07, Nigel in NZ <[EMAIL PROTECTED]> wrote:
Hi,
I have a scenario where my
Hi,
I have a scenario where my admin user wants to pretend to be another user,
so I added the following code ripped from the SignupAction class,
public ActionForward mimicUser(ActionMapping mapping, ActionForm form,
HttpServletRequest request,