The sample in the above doc is not complete and OSGI service registration steps is missing. refer to the sample in [1] and OSGI service registration [2]. Please note that, this is applicable for all APIM 4.0.0 , 4.1.0, 4.2.0 server versions related "writing-a-custom-user-store-manager" related documentation.
Location : https://apim.docs.wso2.com/en/4.0.0/administer/managing-users-and-roles/managing-user-stores/writing-a-custom-user-store-manager/
The sample in the above doc is not complete and OSGI service registration steps is missing. refer to the sample in [1] and OSGI service registration [2]. Please note that, this is applicable for all APIM 4.0.0 , 4.1.0, 4.2.0 server versions related "writing-a-custom-user-store-manager" related documentation.
[1] https://github.com/wso2/samples-is/tree/master/user-mgt/custom-jdbc-user-store-manager [2] https://github.com/wso2/samples-is/blob/master/user-mgt/sample-custom-user-store-manager/src/main/java/org/wso2/sample/user/store/manager/internal/CustomUserStoreMgtDSComponent.java
Thanks, Janaka.