powered by Jive Software

Username converted to lowercase in XmppConnection


I saw this line in the XmppConnection.login(String username,String password,String resource,boolean sendPresence):

username = username.toLowerCase().trim();

Do there is any reason to convert the username to lowercase. Because of that we are restricted to use only lowercase username, because if we used UserName, it will be converted to : username, adn won’t match the Ldap data, which are case sensitive…