private void logEvent(final String username,
                          final boolean wasSuccessful,
                          final String description) {

        stroomEventLoggingService.log(
                "CliChangePassword",
                LogUtil.message("The password for user {} was changed from the command line", username),
                AuthenticateEventAction.builder()
                        .withAction(AuthenticateAction.CHANGE_PASSWORD)
                        .withUser(User.builder()
                                .withName(username)
                                .build())
                        .withOutcome(EventLoggingUtil.createOutcome(
                                AuthenticateOutcome.class,
                                wasSuccessful,
                                description))
                        .build());
    }
Resets the password of an account in the internal identity provider
stroom-app/src/main/java/stroom/app/commands/ResetPasswordCommand.java