Extend keycloak storage provider

I’ve got a problem with implementing own LDAP storage provider which I will do it only for extend searchForUserByUserAttribute functionality, because there is some hardcoded escape strategy.

Here are my first attempts to approach the topic:

  1. I’ve tried to copy all code from keycloak-ldap-federation and replacing provider id, but in that case form responsing for creating ldap configuration cannot resolve a valid view. There was a many blank labels and inputs.
  2. I’ve also extended LDAPStorageProviderFactory and LDAPStorageProvider with my own provider and factory but after deploying it on keycloak, doesn’t consider it. There is only base LDAPStorageProvider .

How to achieve my goal?