On 9/18/06, Stefano Bagnara <[EMAIL PROTECTED]> wrote:
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.

>> 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.

do you mean to say: "... simply ignore non lower-case users and use
only the LOWERcase."?

we could also generate an error when inconsistencies are found.

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".

ok, fine.

 Bernd

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

Reply via email to