public static AccountRegistrationResponse failure() {
        return new AccountRegistrationResponse(CollectionUtils.wrap("success", Boolean.FALSE));
    }
Failure.

@return the account registration response
support/cas-server-support-account-mgmt-api/src/main/java/org/apereo/cas/acct/AccountRegistrationResponse.java