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/
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?
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