Skip to content
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

Update database setup and DAO implementation for schema changes #6014

Draft
wants to merge 1,265 commits into
base: feature-remove-registry-saml
Choose a base branch
from

Conversation

Osara-B
Copy link
Contributor

@Osara-B Osara-B commented Oct 11, 2024

Proposed changes in this pull request

  • Add new database to H2 and update constants (IDN_SAML2_SERVICE_PROVIDER, IDN_SAML2_SP_PROPERTIES)
  • Update DAO Implementation according to updated schema
  • Refactor code
  • Usage of JDBC Templates

@Osara-B Osara-B force-pushed the saml-feature branch 8 times, most recently from 8a0a3f8 to 63d692c Compare October 18, 2024 06:35
@Osara-B Osara-B force-pushed the saml-feature branch 3 times, most recently from f19d15e to c5b6b2d Compare October 22, 2024 12:22
@Osara-B Osara-B force-pushed the saml-feature branch 2 times, most recently from 163ada5 to 518b934 Compare November 1, 2024 06:16

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 4 changed files in this pull request and generated no suggestions.

Files not reviewed (1)
  • features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/h2.sql: Language not supported
Comments skipped due to low confidence (3)

components/identity-core/org.wso2.carbon.identity.core/src/main/java/org/wso2/carbon/identity/core/model/SAMLSSOServiceProviderDO.java:83

  • [nitpick] The constant name BACK_CHANNEL_LOGOUT_BINDING should be consistent with other naming conventions. Consider renaming it to BACKCHANNEL_LOGOUT_BINDING.
private static final String BACK_CHANNEL_LOGOUT_BINDING = "BackChannel";

components/identity-core/org.wso2.carbon.identity.core/src/main/java/org/wso2/carbon/identity/core/model/SAMLSSOServiceProviderDO.java:687

  • The constant AUDIENCES is used incorrectly here. It should be RECIPIENTS.
putIfNotNull(customAttributes, AUDIENCES, requestedRecipient);

components/identity-core/org.wso2.carbon.identity.core/src/main/java/org/wso2/carbon/identity/core/model/SAMLSSOServiceProviderDO.java:733

  • The constant AUDIENCES is used incorrectly here. It should be RECIPIENTS.
putIfNotNull(customAttributes, AUDIENCES, requestedRecipient);
Copy link

sonarqubecloud bot commented Nov 7, 2024

wso2-jenkins-bot and others added 29 commits December 4, 2024 10:30
…ts-sign-and-signature-validation

Add util methods for signing and signature validation
…ts-sign-and-signature-validation

Throw signature exception from signing and signature validation utils
…iqueness-feature

Add support for claim-wise uniqueness validation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.