title: Change default registration behavior in Keycloak
body: <p>We have recently switched to Keycloak to handle the login to our website.
  It's still possible to register and Keycloak has a user registration page, but I basically need to change the definition of 'registrating'.
  By default it means &quot;insert a new user in the DB with the info given by the user through the registration form&quot;. But that's not what we want, we already have all the users that CAN register in our DB, and registrating as a user pretty much means updating a record in our DB.</p>
  <p>I have already made changes to the a few classes and redeployed them by packaging them and then adding the Jar to the <em>\deployments</em> directory. But I can't seem to find the classes that I have to change to get the registration page to behave the way I want.</p>
  <p>How can I change the default behavior of the registration page? What classes do I have to change?</p>