title: Web App:Error page to be displayed to User After X unsuccessful authentication from a specific IP
body: <p>I have a web application running on JSF 2.0. Now the web application is exposed on Intranet. </p>
  
  <p>We encountered a severe problem related to security.</p>
  
  <ul>
  <li>Some user have tried to access the application. Since we have enforced the maximum number of login attempts check at application, login was not successful.</li>
  </ul>
  
  <p>But we encountered a security problem and is possibly seeking a solution. </p>
  
  <p>I would like that a user trying to access an application for X number of times from a specific IP and failing to authenticate himself on application should not see the application webpage/instead an error page be shown indicating Security violation.</p>
  
  <p>SO, a user from Ip 10.10.10.10:9000 trying to access application for 10 times and failing to authenticate himself on application should on 11th attempt be shown an error page indicating security violation.</p>
  
  <p>Can someone suggest how can we approach this ?. </p>