server/src/main/java/com/orientechnologies/orient/server/security/authenticator/ODefaultPasswordAuthenticator.java
public void config(final OServer oServer, final OServerConfigurationManager serverCfg, final ODocument jsonConfig) {
    super.config(oServer, serverCfg, jsonConfig);

    try {
      if (jsonConfig.containsField("users")) {
        List<ODocument> usersList = jsonConfig.field("users");

        for (ODocument userDoc : usersList) {
        	
          OServerUserConfiguration userCfg = createServerUser(userDoc);
         
          if (userCfg != null) {
            String checkName = userCfg.name;
    
            if (!isCaseSensitive()) checkName = checkName.toLowerCase(Locale.ENGLISH);
          	
          	usersMap.put(checkName, userCfg);
          }
        }
      }
    } catch (Exception ex) {
      OLogManager.instance().error(this, "config()", ex);
    }
  }
public void config(final OServer oServer, final OServerConfigurationManager serverCfg, final ODocument jsonConfig) {
    super.config(oServer, serverCfg, jsonConfig);

    try {
      if (jsonConfig.containsField("users")) {
        List<ODocument> usersList = jsonConfig.field("users");

        for (ODocument userDoc : usersList) {
        	
          OServerUserConfiguration userCfg = createServerUser(userDoc);
         
          if (userCfg != null) {
            String checkName = userCfg.name;
    
            if (!isCaseSensitive()) checkName = checkName.toLowerCase(Locale.ENGLISH);
          	
          	usersMap.put(checkName, userCfg);
          }
        }
      }
    } catch (Exception ex) {
      OLogManager.instance().error(this, "config()", ex);
    }
  }
public void config ( final OServer oServer , final OServerConfigurationManager serverCfg , final ODocument jsonConfig ) { super . config ( oServer , serverCfg , jsonConfig ) ; try { if ( jsonConfig . containsField ( "users" ) ) { List < ODocument > usersList = jsonConfig . field ( "users" ) ; for ( ODocument userDoc : usersList ) { OServerUserConfiguration userCfg = createServerUser ( userDoc ) ; if ( userCfg != null ) { String checkName = userCfg . name ; if ( ! isCaseSensitive ( ) ) checkName = checkName . toLowerCase ( Locale . ENGLISH ) ; usersMap . put ( checkName , userCfg ) ; } } } } catch ( Exception ex ) { OLogManager . instance ( ) . error ( this , "config()" , ex ) ; } }
OSecurityComponent
OSecurityComponent