ESAPI with spring mvc
<p>I am trying to use OWASP ESAPI for validating strings in a spring mvc project.</p>

<p>So far I have done:</p>

<p>1-</p>

<pre><code>&lt;dependency&gt;
   &lt;groupId&gt;org.owasp.esapi&lt;/groupId&gt;
   &lt;artifactId&gt;esapi&lt;/artifactId&gt;
   &lt;version&gt;2.1.0.1&lt;/version&gt;
&lt;/dependency&gt;
</code></pre>

<p>2- Added <code>ESAPI.properties</code> and <code>validation.properties</code> in the resources as:
<code>myproject/src/resources/esapi/ESAPI.properties</code>
<code>myproject/src/resources/esapi/validation.properties</code></p>

<p>3- Added my own validation to the <code>validation.properties</code></p>

<p>4- In my <code>application.properties</code> I set the <code>org.owasp.esapi.resources</code></p>

<p><code>org.owasp.esapi.resources=classpath:esapi/ESAPI.properties</code></p>

<p>And I have the following line in a method</p>

<pre><code>boolean isValid = ESAPI.validator().isValidInput("user id", userID, "USERID", 20, false);
</code></pre>

<p>The validation works, but I get the following notifications printed out in stdout:</p>

<p><code>System property [org.owasp.esapi.opsteam] is not set</code></p>

<p><code>System property [org.owasp.esapi.devteam] is not set</code></p>

<p>How do I fix this?</p>

<p>I Also get several lines as:</p>

<p><code>Not found in 'org.owasp.esapi.resources' directory or file not readable: /usr/local/apache-tomcat-8.0.28/bin/ESAPI.properties</code></p>

<p><code>Not found in SystemResource Directory/resourceDirectory: .esapi/ESAPI.properties</code></p>

<p><code>SUCCESSFULLY LOADED ESAPI.properties via the CLASSPATH from 'esapi/' using current thread context class loader!</code>
And several others.</p>

<p>How do I get rid of these lines?</p>

<p>I Also have written a test. After running the test I get the almost same comments as in production code except for the <code>SUCCESS</code> part, in addition I get the following:</p>

<p><code>Not found in 'org.owasp.esapi.resources' directory or file not readable: /Users/me/dev/myproject/validation.properties
Found in SystemResource Directory/resourceDirectory: /Users/me/dev/myproject/target/classes/esapi/validation.properties
Loaded 'validation.properties' properties file</code> </p>

<p>So the validation and tests all work but I get all these notifications which I would like to get rid of!</p>

<p>What do I miss in the configurations or elsewhere?</p>