server/src/main/java/com/orientechnologies/orient/server/security/authenticator/ODefaultPasswordAuthenticator.java
public OServerUserConfiguration getUser(final String username) {
    OServerUserConfiguration userCfg = null;

    synchronized (usersMap) {
      if (username != null) {
        String checkName = username;

        if (!isCaseSensitive())
          checkName = username.toLowerCase(Locale.ENGLISH);

        if (usersMap.containsKey(checkName)) {
          userCfg = usersMap.get(checkName);
        }
      }
    }

    return userCfg;
  }
public OServerUserConfiguration getUser(final String username) {
    OServerUserConfiguration userCfg = null;

    synchronized (usersMap) {
      if (username != null) {
        String checkName = username;

        if (!isCaseSensitive())
          checkName = username.toLowerCase(Locale.ENGLISH);

        if (usersMap.containsKey(checkName)) {
          userCfg = usersMap.get(checkName);
        }
      }
    }

    return userCfg;
  }
public OServerUserConfiguration getUser ( final String username ) { OServerUserConfiguration userCfg = null ; synchronized ( usersMap ) { if ( username != null ) { String checkName = username ; if ( ! isCaseSensitive ( ) ) checkName = username . toLowerCase ( Locale . ENGLISH ) ; if ( usersMap . containsKey ( checkName ) ) { userCfg = usersMap . get ( checkName ) ; } } } return userCfg ; }
OSecurityAuthenticator
OSecurityAuthenticator