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

Handle multiple LDAP users more gracefully #264

Open
derek63 opened this issue Nov 8, 2016 · 0 comments
Open

Handle multiple LDAP users more gracefully #264

derek63 opened this issue Nov 8, 2016 · 0 comments

Comments

@derek63
Copy link
Member

derek63 commented Nov 8, 2016

Right now, the login module will force an error if more than one LDAP user matches the query generated from the certificate principal (uid=my-principal). See

https://github.com/lightblue-platform/lightblue-rest/blob/master/auth/src/main/java/com/redhat/lightblue/rest/auth/ldap/CachedLdapFindUserRolesByUidCommand.java#L89

While this is certainly one way to handle it, a better way would be to merge all of the permissions for any of the DNs, as there definitely could be multiple matching ids somewhere in LDAP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant