title: spring security which class to override to get the wrong password
body: <p>In spring security 3.0.5.RELEASE, which class and method can I override to catch the BadCredentialsException for wrong password. Here is a snippet of my security.xml</p>
  
  <pre><code>&lt;beans:bean id="daoAuthenticationProvider" class="org.springframework.security.authentication.dao.DaoAuthenticationProvider"&gt;
      &lt;beans:property name="hideUserNotFoundExceptions" value="true" /&gt;
      &lt;beans:property name="userDetailsService" ref="userDao"/&gt;
      &lt;beans:property name="passwordEncoder" ref="passwordEncoder"/&gt;
  &lt;/beans:bean&gt;
  
  &lt;security:authentication-manager&gt;
      &lt;security:authentication-provider ref='daoAuthenticationProvider'/&gt;
  &lt;/security:authentication-manager&gt;
  </code></pre>