Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

DirectMappedPersonAttributeDao is netId case-sensitive #2

Open
robertoschwald opened this issue Feb 10, 2016 · 0 comments
Open

DirectMappedPersonAttributeDao is netId case-sensitive #2

robertoschwald opened this issue Feb 10, 2016 · 0 comments

Comments

@robertoschwald
Copy link
Owner

When authenticating the user, it might be possible that the attributes are not found in the attributeMap of DirectMappedPersonAttributeDao when the username contains mixed-case letters, as the netId is used as the key to the map entry.

Workarounds

  1. convert the username to lowercase in UsernamePasswordCredentials

Possible fix:
Change the DirectMappedPersonAttributeDao to always use the netId map key as lowercase.

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

No branches or pull requests

1 participant