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

Make name LDAP properties configurable #5423

Merged
merged 1 commit into from Apr 26, 2024

Conversation

jrjohnson
Copy link
Member

At UCSF the first and last name can be configured to use the lived name values instead of the default ldap attributes. This change allows ilios to consume those values, but keeps the default of sn/givenName for standard LDAP configs.

I added a note to the class comments, but spelling it out here as well. The LdapManager is untestable because the Symphony LDAP class it relies on is marked as final. Because we'd have to mock the query behavior to test this class we can't even create an LdapFactory service below this one. Or at least I couldn't figure out how.

At UCSF the first and last name can be configured to use the lived name
values instead of the default ldap attributes. This change allows ilios
to consume those values, but keeps the default of sn/givenName for
standard LDAP configs.
@jrjohnson jrjohnson marked this pull request as ready for review April 26, 2024 15:52
Copy link
Member

@stopfstedt stopfstedt left a comment

Choose a reason for hiding this comment

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

thanks for the additional context in the ticket and code comments.

@stopfstedt stopfstedt merged commit 7b8f16f into ilios:master Apr 26, 2024
35 checks passed
@jrjohnson jrjohnson deleted the configurable-ldap-names branch April 26, 2024 18:11
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.

None yet

2 participants