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
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 knst.koli...@gmail.comwrote: 2013/1/30 Jimmy Johnson eclectic.sou...@gmail.com: Ah, Okay, so I should use the addWebapp method to add a path to an external

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 knst.koli...@gmail.comwrote: 2013/1/29 Jimmy Johnson eclectic.sou...@gmail.com: System