public void config(final OServer oServer, final OServerConfigurationManager serverCfg, final ODocument jsonConfig) {
    server = oServer;
    serverConfig = serverCfg;

    if (jsonConfig.containsField("name")) {
      name = jsonConfig.field("name");
    }

    if (jsonConfig.containsField("debug")) {
      debug = jsonConfig.field("debug");
    }

    if (jsonConfig.containsField("enabled")) {
      enabled = jsonConfig.field("enabled");
    }

    if (jsonConfig.containsField("caseSensitive")) {
      caseSensitive = jsonConfig.field("caseSensitive");
    }
  }
public void config(final OServer oServer, final OServerConfigurationManager serverCfg, final ODocument jsonConfig) {
    server = oServer;
    serverConfig = serverCfg;

    if (jsonConfig.containsField("name")) {
      name = jsonConfig.field("name");
    }

    if (jsonConfig.containsField("debug")) {
      debug = jsonConfig.field("debug");
    }

    if (jsonConfig.containsField("enabled")) {
      enabled = jsonConfig.field("enabled");
    }

    if (jsonConfig.containsField("caseSensitive")) {
      caseSensitive = jsonConfig.field("caseSensitive");
    }
  }
public void config ( final OServer oServer , final OServerConfigurationManager serverCfg , final ODocument jsonConfig ) { server = oServer ; serverConfig = serverCfg ; if ( jsonConfig . containsField ( "name" ) ) { name = jsonConfig . field ( "name" ) ; } if ( jsonConfig . containsField ( "debug" ) ) { debug = jsonConfig . field ( "debug" ) ; } if ( jsonConfig . containsField ( "enabled" ) ) { enabled = jsonConfig . field ( "enabled" ) ; } if ( jsonConfig . containsField ( "caseSensitive" ) ) { caseSensitive = jsonConfig . field ( "caseSensitive" ) ; } }
OSecurityComponent
OSecurityComponent