protected void handleFailingResponse(final AuthenticationResponse response,
                                         final PasswordPolicyContext configuration) throws LoginException {
        val error = ActiveDirectoryAccountState.Error.parse(response.getDiagnosticMessage());
        handleError(error, response, configuration, new ArrayList<>());
    }
Handle failing response.

@param response      the response
@param configuration the configuration
@throws LoginException the login exception
support/cas-server-support-ldap-core/src/main/java/org/apereo/cas/authentication/support/DefaultLdapAccountStateHandler.java