-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change exception thrown when realm not found for a given name and include error code in exception thrown. #3846
base: 4.10.x
Are you sure you want to change the base?
Conversation
PR builder started |
PR builder completed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/7803764660
PR builder started |
PR builder completed |
PR builder started |
PR builder completed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/8277965419
...arbon.user.core/src/main/java/org/wso2/carbon/user/core/common/AbstractUserStoreManager.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Pamoda Wimalasiri <[email protected]>
Purpose
This PR changes the exception thrown at the AbstractUserStoreManager when a user store is not found for a given tenant domain name, to use ERROR_CODE_INVALID_DOMAIN_NAME constant and use an error code. This helps identify the thrown exception at a higher level.
Related Issue