@Override
    public void onEvent(KeycloakSession session, Event event) {
        typeCheck(event);

        if (LOGGER.isDebugEnabled()) {
            LOGGER.debugv("Processing a REGISTER event: {0}", ToStringBuilder.reflectionToString(event));
        }

        new NewUserEventProcessor(options, session, keycloakSessionFactory).process(event);
    }
@author Marc Savy {@literal <marc@blackparrotlabs.io>}
sso/keycloak/extensions/src/main/java/io/apiman/manager/sso/keycloak/event/processors/NewUserEventProcessorFactory.java