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

Prevent loading unsupported claim attributes for Non-JDBC primary user stores #4106

Draft
wants to merge 1 commit into
base: 4.10.x
Choose a base branch
from

Conversation

PasinduYeshan
Copy link

@PasinduYeshan PasinduYeshan commented Oct 25, 2024

Purpose

Currently, when a tenant is created, claim attribute mappings from claim-config.xml are saved to the database for the primary user store domain. When a new user store is added, the mappings from the primary user store domain are used unless the admin explicitly creates new attribute mappings.

With this PR, we aim to avoid potential conflicts arising from unsupported attributes in non-JDBC primary user stores. Specifically, if the primary user store is LDAP or another unsupported user store, new attributes that aren't natively supported should not be loaded. Admin should set these mappings manually, providing better stability and reducing errors.

Related Issues

@PasinduYeshan PasinduYeshan changed the title Introduce new tag to skip non jdbc us unsupported attribute mappings Prevent loading unsupported claim attributes for Non-JDBC primary user stores Oct 25, 2024
@PasinduYeshan PasinduYeshan marked this pull request as ready for review October 25, 2024 20:18
@PasinduYeshan PasinduYeshan marked this pull request as draft October 27, 2024 06:51
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.

1 participant