public boolean isCredentialFailure() {
    return credentialFailure;
  }
A boolean value indicating whether the faulire was due to invalid credentials (<code>true</code>) or not (<code>false</code>)
<p>
An invalid credential failure will count towards a user's authentication failure count.
ambari-server/src/main/java/org/apache/ambari/server/security/authentication/AmbariAuthenticationException.java