title: IMPROPER RESOURCE ACCESS AUTHERIZATION
body: <p>We are getting <code>IMPROPER RESOURCE ACCESS AUTHORIZATION</code> issue while review the java code through <code>Checkmarx</code> (security vulnerability code review tool). Getting issue from the below code snippet.</p>
  
  <p>Code -  DAO Class</p>
  
  <pre><code>data = repository.findById(id);
  </code></pre>
  
  <p>We are using JPA repository and spring boot technology.</p>
  
  <p>I tried with all spring JPA security but did not find any solution. </p>