@Override
    public boolean isEqualTo(final Authentication authn) {
        if (this == authn) {
            return true;
        }
        return Objects.equals(getPrincipal(), authn.getPrincipal())
            && Objects.equals(getCredentials(), authn.getCredentials())
            && Objects.equals(getSuccesses(), authn.getSuccesses());
    }
Map of handler name to handler authentication failure cause.
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/DefaultAuthentication.java