title: Fortify fix for Often Misused Authentication
body: <p>When I do scan using fortify I have got vulnerabilities like "Often Misused: Authentication" at the below code. For this do we have any fix to avoid this issue.
  I have seen related posts but not able to get solution.Using ESAPI  I have provided regex for hostname and ipadress but it not works.
  <code>addr.getHostAddress()
  java.net.InetAddress.getByName(nameServiceHost);
  java.net.InetAddress.getLocalHost().getCanonicalHostName()
  localhost.getHostName()</code></p>
  
  <p>Please Suggest me to solve this issue.</p>