Re: AJAX Authentification

2013-02-09 Thread Jimmy Johnson
I had the same requirements and ended up using Spring security. Although spring security is no set up for ajax itself, you can make a filter that catches all ajax context after it goes through the security class filters. Take a look here : http://static.springsource.org/spring-security/site/

Re: Embedded Tomcat how to use addContext for docBase

2013-01-30 Thread Jimmy Johnson
add in the File.getAbsolutePath() call as you suggested and take a look at the tests cases. Thanks again! On Wed, Jan 30, 2013 at 3:08 AM, Konstantin Kolinko wrote: > 2013/1/30 Jimmy Johnson : > > Ah, Okay, so I should use the addWebapp method to add a path to an > external > > folder?

Re: Embedded Tomcat how to use addContext for docBase

2013-01-29 Thread Jimmy Johnson
Ah, Okay, so I should use the addWebapp method to add a path to an external folder? e.g tomcat.addWebapp("/MyWebApp/images", "/tmp/images"); Thanks, Jimmy On Tue, Jan 29, 2013 at 2:06 PM, Konstantin Kolinko wrote: > 2013/1/29 Jimmy Johnson : > > System: Mac