Stefano Bagnara schrieb:
Bernd Fondermann wrote:
4) Allow the administrator to add 2 users with the same name but
different letter-case.

.. and if UsersRepository is case-insensitive, the second is rejected?

Right: it should reply "The user already exists" or something similar.
See next comment.

5) Make sure that our current implementations switch to all lowercase
names where ignoreCase is activated.

+1
what happens if this configuration is changed from caseSensitive to
ignoreCase for a non-empty user base?

This would depend from the implementation: I guess that we should simply ignore non lower-case users and use only the uppercase.

Otherwise the implementation should take care on how to disambiguate 2 users with the same name but different capitalization.

I think we can't do more than adding a comment over <ignoreCase> telling the user: "keep in mind that your existing userbase may become invalid if you change this".

Stefano


IMMO it make no sense to use case sensitive usernames at all.. Just my thought.

bye
Norman




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to