-
Notifications
You must be signed in to change notification settings - Fork 541
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
Add new VerificationAuthenticatorConfig for verification authenticators. #6041
base: master
Are you sure you want to change the base?
Add new VerificationAuthenticatorConfig for verification authenticators. #6041
Conversation
cd8387c
to
a887a38
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6041 +/- ##
============================================
+ Coverage 40.21% 40.43% +0.21%
- Complexity 14214 14534 +320
============================================
Files 1740 1774 +34
Lines 117126 119277 +2151
Branches 18931 20516 +1585
============================================
+ Hits 47106 48225 +1119
- Misses 62792 63727 +935
- Partials 7228 7325 +97
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
baa3e99
to
b6248b3
Compare
...c/main/java/org/wso2/carbon/identity/application/common/ApplicationAuthenticatorService.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/wso2/carbon/identity/application/common/ApplicationAuthenticatorService.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/wso2/carbon/identity/application/common/ApplicationAuthenticatorService.java
Outdated
Show resolved
Hide resolved
...ain/java/org/wso2/carbon/identity/application/common/constant/AuthenticatorMgtConstants.java
Outdated
Show resolved
Hide resolved
...ain/java/org/wso2/carbon/identity/application/common/constant/AuthenticatorMgtConstants.java
Outdated
Show resolved
Hide resolved
9d24d6f
to
2e1bfb4
Compare
PR builder started |
2e1bfb4
to
f56f045
Compare
PR builder completed |
3a83815
to
837b98b
Compare
837b98b
to
09372f0
Compare
943d689
to
5b5624b
Compare
Quality Gate passedIssues Measures |
...ava/org/wso2/carbon/identity/application/common/constant/AuthenticatorMgtErrorConstants.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/constant/AuthenticatorMgtErrorConstants.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/constant/AuthenticatorMgtErrorConstants.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/constant/AuthenticatorMgtErrorConstants.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/constant/AuthenticatorMgtErrorConstants.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/constant/AuthenticatorMgtErrorConstants.java
Show resolved
Hide resolved
...rc/main/java/org/wso2/carbon/identity/application/common/dao/AuthenticatorManagementDAO.java
Show resolved
Hide resolved
...rc/main/java/org/wso2/carbon/identity/application/common/dao/AuthenticatorManagementDAO.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
...ava/org/wso2/carbon/identity/application/common/dao/impl/AuthenticatorManagementDAOImpl.java
Show resolved
Hide resolved
private boolean isBasicInfoUpdated(LocalAuthenticatorConfig existingAuthenticatorConfig, | ||
LocalAuthenticatorConfig updatedAuthenticatorConfig) { | ||
|
||
return !existingAuthenticatorConfig.getDisplayName().equals(updatedAuthenticatorConfig.getDisplayName()) || | ||
existingAuthenticatorConfig.isEnabled() != updatedAuthenticatorConfig.isEnabled(); | ||
} |
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.
don't quite understand the use of this. why we really need this check ?
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.
Only display name or isEnabled updated, we need to update the IDP_AUTHENTICATOR table. So if this check failed, then only the properties will be updated.
...in/java/org/wso2/carbon/identity/application/common/exception/AuthenticatorMgtException.java
Show resolved
Hide resolved
...org/wso2/carbon/identity/application/common/util/UserDefinedLocalAuthenticatorValidator.java
Show resolved
Hide resolved
|
||
INSERT INTO IDN_BASE_TABLE values ('WSO2 Identity Server'); | ||
|
||
CREATE TABLE IF NOT EXISTS IDN_OAUTH_CONSUMER_APPS ( |
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.
why we need to add all this schema for the test ? why not we use only needed ?
Task issue:
With this PR following changes may introduced.
2FA
tag by default.