79495433

Date: 2025-03-09 05:07:31
Score: 2.5
Natty:
Report link

For this purpose you can create a new custom user operation listener by extending the AbstractUserOperationEventListener class [1]. Inside the doPreAddUser method you can call the external API and do the validation.

[1] https://github.com/wso2/carbon-kernel/blob/a286224351c7d2ab0875a91fe51eaf3b61a312d2/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/common/AbstractUserOperationEventListener.java#L57

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Asha