-
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 DefinedBy property to authenticator config. #5938
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
c4243a8
to
388b5fa
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
388b5fa
to
02d972c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
02d972c
to
71e75c3
Compare
PR builder started |
PR builder completed |
9fc695e
to
99f7c76
Compare
99f7c76
to
b40fb77
Compare
PR builder started |
PR builder completed |
038f4a3
to
10bba5c
Compare
10bba5c
to
6ab1997
Compare
@Thisara-Welmilla please refer to the right issue in this PR |
...c/main/java/org/wso2/carbon/identity/application/common/ApplicationAuthenticatorService.java
Outdated
Show resolved
Hide resolved
e01bdfa
to
a8f8170
Compare
PR builder started |
PR builder completed |
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/11064117139
9f41217
to
2e2a5ea
Compare
2e2a5ea
to
2a2c971
Compare
...ain/java/org/wso2/carbon/identity/application/common/model/FederatedAuthenticatorConfig.java
Outdated
Show resolved
Hide resolved
...ain/java/org/wso2/carbon/identity/application/common/model/FederatedAuthenticatorConfig.java
Outdated
Show resolved
Hide resolved
....mgt/src/main/java/org/wso2/carbon/identity/application/mgt/dao/impl/ApplicationDAOImpl.java
Outdated
Show resolved
Hide resolved
....mgt/src/main/java/org/wso2/carbon/identity/application/mgt/dao/impl/ApplicationDAOImpl.java
Show resolved
Hide resolved
// TODO: Read from database and set the DefinedBy and authenticationType properties to the authenticator. | ||
returnData.put(ApplicationConstants.IDP_AUTHENTICATOR_DEFINED_BY_TYPE, | ||
IdentityConstants.DefinedByType.SYSTEM.toString()); |
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.
Let's fix this before merging
...test/java/org/wso2/carbon/identity/application/mgt/ApplicationManagementServiceImplTest.java
Outdated
Show resolved
Hide resolved
...test/java/org/wso2/carbon/identity/application/mgt/ApplicationManagementServiceImplTest.java
Outdated
Show resolved
Hide resolved
.../org/wso2/carbon/identity/application/authentication/framework/ApplicationAuthenticator.java
Outdated
Show resolved
Hide resolved
saml2SSOResidentAuthenticatorConfig.setDefinedByType(IdentityConstants.DefinedByType.SYSTEM); | ||
saml2SSOResidentAuthenticatorConfig.setAuthenticationType( | ||
IdentityConstants.AuthenticationType.IDENTIFICATION); |
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.
Shouldn't these test cases should be working without setting these properties explicitly ?
2ac85c6
to
f30a454
Compare
f30a454
to
32e7a86
Compare
Issue:
With this following properties will be introduce to the authenticator configs and Application Authenticators.
DefinedBy
- to indicate whether the authenticator is system-defined or user-defined.AuthenticationType
- To indicate whether authenticator is one of followingprocess.
With this PR following changes are added.
NOTE: These property values are hardcoded for now. Saving and retrieving with DBs will supported by a separate PR.