batchu / owasp-esapi-java

Automatically exported from code.google.com/p/owasp-esapi-java
0 stars 0 forks source link

Consider SystemClass and ThreadContext loading of configuration files #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
One comment:  The DefaultConfiguration uses the System Class Loader to find 
resources…  I am not sure this meets all outsanding requirements as I am 
pretty sure this class loader does not have visibility into a war. 

Perhaps the code should try the SystemClass loader and then try the 
ThreadContext class loader? 

This way resources ( i.e. Validation.properties) can be loaded from the 
system classpath or from inside the war?  Yes, this makes things a bit more 
complex, but imho it is needed.

Original issue reported on code.google.com by manico.james@gmail.com on 25 Jan 2010 at 10:18

GoogleCodeExporter commented 8 years ago
We solved this a while ago.

Original comment by manico.james@gmail.com on 1 Nov 2010 at 1:23