Re: Keep having to login with container based authentaction.

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dean, On 8/20/2009 8:14 AM, Dean Chester wrote: > Ok ive discovered that they are not staying the same between clicks. I'm now > going to look at encoding urls now. You should always encode your URLs. To test that your webapp is working in general,

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Dean Chester
Ok ive discovered that they are not staying the same between clicks. I'm now going to look at encoding urls now. Dean On Thu, Aug 20, 2009 at 1:06 PM, Pid wrote: > On 20/08/2009 13:00, Pid wrote: > >> On 20/08/2009 12:36, Dean Chester wrote: >> >>> Sorry about that. >>> Yes i have a index page in

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Pid
On 20/08/2009 13:00, Pid wrote: On 20/08/2009 12:36, Dean Chester wrote: Sorry about that. Yes i have a index page in the restricted area that has links to other restricted jsps. The Logs are not reporting anything. How do you mean encode your urls? If you're being asked to log in every cli

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Pid
On 20/08/2009 12:40, Dean Chester wrote: By default realm i mean the one that is set up in the server.xml and it is a JDBC Realm. Which'll do for testing, but you should use a DataSourceRealm for production. p Dean On Thu, Aug 20, 2009 at 12:36 PM, Dean Chester< dean.g.ches...@googlemail

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Pid
On 20/08/2009 12:36, Dean Chester wrote: Sorry about that. Yes i have a index page in the restricted area that has links to other restricted jsps. The Logs are not reporting anything. How do you mean encode your urls? If you're being asked to log in every click, your session is probably not

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Dean Chester
By default realm i mean the one that is set up in the server.xml and it is a JDBC Realm. Dean On Thu, Aug 20, 2009 at 12:36 PM, Dean Chester < dean.g.ches...@googlemail.com> wrote: > Sorry about that. > Yes i have a index page in the restricted area that has links to other > restricted jsps. The

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Dean Chester
Sorry about that. Yes i have a index page in the restricted area that has links to other restricted jsps. The Logs are not reporting anything. How do you mean encode your urls? I haven't set a time out in the web.xml file so its using the default. The time between clicks is usually about 1-2 second

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Pid
On 20/08/2009 11:55, Dean Chester wrote: Sorry Tomcat 6.20, Red Hat Enterprise edition 4 i think. java 1.6. And i mean once logged in i have to login again after clicking on a link in the restricted area. Dean You don't need to reply-to-all, just to the list. I'm obviously on the mailing list

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Dean Chester
Sorry Tomcat 6.20, Red Hat Enterprise edition 4 i think. java 1.6. And i mean once logged in i have to login again after clicking on a link in the restricted area. Dean On Thu, Aug 20, 2009 at 11:23 AM, Pid wrote: > On 20/08/2009 10:40, Dean Chester wrote: > >> Hi, >> I've written my application

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Pid
On 20/08/2009 10:40, Dean Chester wrote: Hi, I've written my application using j_security_check yet i keep having to log in in the restricted area. Has anyone else experienced this? Yep. I have to log in each time I want to use our app - it's a side effect of implementing security. Or is you

Keep having to login with container based authentaction.

2009-08-20 Thread Dean Chester
Hi, I've written my application using j_security_check yet i keep having to log in in the restricted area. Has anyone else experienced this? Because it works with a small amount of JSPs and then when i implement it all in to my application it doesn't work. Where am i most likely going wrong? Thanks