Scripted Hints for Spring MVC Resources?

59 views
Skip to first unread message

Cliff Laurin

unread,
Oct 12, 2013, 7:24:25 AM10/12/13
to script...@googlegroups.com
Hey Guys,

First of all let me say that I really appreciate the fact that you are building a much needed editor like this.

Second, I am working in a Spring MVC context in which I have resources that are protected by Spring Security.  The protected resources reside within sub-folders of WEB-INF.  I have set-up Spring MVC resource mappings to alias the long URI's of these protected resources to short and friendly URI's for ease of reference within my client application. 

Obviously Scripted knows nothing of my Spring MVC configuration, and I don't expect it to. However, can I provide Scripted with hints in it's configuration that will allow it to find the protected resources by their Spring MVC resource configured paths?

E.g. <mvc:resources mapping="/app-resources/**" location="/WEB-INF/resources/" />

I'm guessing the answer to be no or not at this time, and I have an alternate solution for re-organizing and re-configuring Spring Security and MVC within my project that will provide Scripted with resource paths that it will be able to take at face value, but I figured that I would ask about resource mapping hints before I went to all of the trouble. Plus, I figured that this would be a common problem.

Thanks,
Cliff


Reply all
Reply to author
Forward
0 new messages