Re: Forwarding during container security

2006-08-15 Thread Eurig Jones
I've gone a slightly different way now, but what I've done is this... I've extended the JNDIRealm (or JDBC or whatever), which within this adds the username of the logged in user into a 1 field table if the user has successfully logged in. After the user has logged in, A filter is run (that h

Re: Forwarding during container security

2006-08-14 Thread Eurig Jones
That was my guess initially, but there is no way of knowing that the request the filter is given has been through the security... Unless I'm wrong about this...? Marc Farrow wrote: My guess is that the easiest thing to do is to create a filter. On 8/14/06, Eurig Jones <[EMAIL P

Forwarding during container security

2006-08-14 Thread Eurig Jones
Hi, hopefully someone can help me... My Secured area is /admin/* which requires the "administrator" role to view. If someone requests /admin/edit.faces, they are prompted with a login prompt as expected. If they login correctly they'll proceed to /admin/edit.faces What I want to do is forwar