esapi-java-legacy icon indicating copy to clipboard operation
esapi-java-legacy copied to clipboard

Method separation in DefaultSecurityConfiguration.loadConfiguration()

Open meg23 opened this issue 10 years ago • 1 comments

From [email protected] on July 19, 2011 09:54:26

in DefaultSecurityConfiguration, the loadConfiguration method is allowed to be overridden, but has too many logical components, requiring duplication in overridden methods. This method locates and loads properties, then loads validation properties, and then stores the validation properties. this should be three separate methods, so, for example, the property loading can be overridden without impacting the property storage.

Original issue: http://code.google.com/p/owasp-esapi-java/issues/detail?id=233

meg23 avatar Nov 13 '14 18:11 meg23