Tabnine Logo
ConfigurationService.loadAuthentication
Code IndexAdd Tabnine to your IDE (free)

How to use
loadAuthentication
method
in
org.apache.shardingsphere.orchestration.internal.registry.config.service.ConfigurationService

Best Java code snippets using org.apache.shardingsphere.orchestration.internal.registry.config.service.ConfigurationService.loadAuthentication (Showing top 2 results out of 315)

origin: apache/incubator-shardingsphere

private static void startWithRegistryCenter(final YamlProxyServerConfiguration serverConfig,
                      final Collection<String> shardingSchemaNames, final Map<String, YamlProxyRuleConfiguration> ruleConfigs, final int port) throws InterruptedException {
  try (ShardingOrchestrationFacade shardingOrchestrationFacade = new ShardingOrchestrationFacade(serverConfig.getOrchestration().getOrchestrationConfiguration(), shardingSchemaNames)) {
    initShardingOrchestrationFacade(serverConfig, ruleConfigs, shardingOrchestrationFacade);
    GlobalRegistry.getInstance().init(getSchemaDataSourceParameterMap(shardingOrchestrationFacade), getSchemaRules(shardingOrchestrationFacade),
        shardingOrchestrationFacade.getConfigService().loadAuthentication(), shardingOrchestrationFacade.getConfigService().loadConfigMap(),
        shardingOrchestrationFacade.getConfigService().loadProperties(), true);
    initOpenTracing();
    ShardingProxy.getInstance().start(port);
  }
}

origin: apache/incubator-shardingsphere

private static void startWithRegistryCenter(final YamlProxyServerConfiguration serverConfig,
                      final Collection<String> shardingSchemaNames, final Map<String, YamlProxyRuleConfiguration> ruleConfigs, final int port) throws InterruptedException {
  try (ShardingOrchestrationFacade shardingOrchestrationFacade = new ShardingOrchestrationFacade(serverConfig.getOrchestration().getOrchestrationConfiguration(), shardingSchemaNames)) {
    initShardingOrchestrationFacade(serverConfig, ruleConfigs, shardingOrchestrationFacade);
    GlobalRegistry.getInstance().init(getSchemaDataSourceParameterMap(shardingOrchestrationFacade), getSchemaRules(shardingOrchestrationFacade),
        shardingOrchestrationFacade.getConfigService().loadAuthentication(), shardingOrchestrationFacade.getConfigService().loadConfigMap(),
        shardingOrchestrationFacade.getConfigService().loadProperties(), true);
    initOpenTracing();
    ShardingProxy.getInstance().start(port);
  }
}

org.apache.shardingsphere.orchestration.internal.registry.config.serviceConfigurationServiceloadAuthentication

Javadoc

Load authentication.

Popular methods of ConfigurationService

  • loadDataSourceConfigurations
    Load data source configurations.
  • loadMasterSlaveRuleConfiguration
    Load master-slave rule configuration.
  • loadShardingRuleConfiguration
    Load sharding rule configuration.
  • getAllShardingSchemaNames
    Get all sharding schema names.
  • isShardingRule
    Judge is sharding rule or master-slave rule.
  • loadConfigMap
    Load config map.
  • loadProperties
    Load properties configuration.
  • <init>
  • hasAuthentication
  • hasConfigMap
  • hasDataSourceConfiguration
    Judge whether schema has data source configuration.
  • hasProperties
  • hasDataSourceConfiguration,
  • hasProperties,
  • hasRuleConfiguration,
  • persistAuthentication,
  • persistConfigMap,
  • persistConfiguration,
  • persistDataSourceConfiguration,
  • persistMasterSlaveRuleConfiguration,
  • persistProperties

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now