james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fondermann" <bernd.fonderm...@googlemail.com>
Subject Re: [PROPOSAL] move ignoreCase configuration to the UsersRepository and remove containsIgnoreCase
Date Mon, 18 Sep 2006 13:36:23 GMT
On 9/18/06, Stefano Bagnara <apache@bago.org> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message