mway08 / owasp-esapi-java

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

Modifications to .properties files #131

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Due to the fact that people implementing ESAPI will be centralizing a lot of 
important information through ESAPI.properties and validation.properties, there 
should be a way to update that information.
Things such as white-list validation regexes, parameter names, upload 
requirements and limits, and mapping to classes should all have the ability to 
be updated.

Possible implementations include an executor that checks on an interval whether 
or not there have been changes to the properties file, then reloads based on 
those changes, meaning if:
--  ESAPI.HTTPUtilities=org.owasp.esapi.reference.DefaultHTTPUtilities
was changed to
--  ESAPI.HTTPUtilities=com.whatever.PersonalizedHTTPUtilities,
then 
--  ESAPI.setHttpUtilties(PersonalizedHttpUtilities.getInstance()); 
would be called.

I haven't completely fleshed out this idea yet, so any general ideas would be 
helpful. 

What version of the product are you using? On what operating system?
ESAPI.properties r1442

Original issue reported on code.google.com by owen.k.b...@gmail.com on 14 Jul 2010 at 6:23

GoogleCodeExporter commented 9 years ago

Original comment by augu...@gmail.com on 19 Oct 2010 at 1:05

GoogleCodeExporter commented 9 years ago
I like it, we should consider this after 2.0 GA

Original comment by manico.james@gmail.com on 2 Nov 2010 at 8:12