| ASF |
#481099 |
Thu Nov 30 22:55:59 UTC 2006 |
craigmcc |
Add support for configuring (via pattern matching) the set of resource ids
that a particular processor will be allowed to provide, with disallowed ones
getting an HTTP 404 response back. For the classloader and webapp resources,
the default configuration has these patterns:
Excluded: *.class,*.jsp,*.properties
Included: *.css,*.gif,*.html,*.jpg,*.js,*.png,*.xml
(As before, the webapp resource processor disallows access inside WEB-INF,
no matter whether the file matches an included pattern or not).
Defaults for the dynamic processor (the ones that map a resource id to a
method on a managed bean) are still set to allow all patterns. This deserves
more thought; there does not appear to be a set of sensible defaults that
is likely to work for a majority of applications using this feature.
SHALE-344
|