public class ConfigurableInternodeAuthHadoopPlugin extends HadoopAuthPlugin implements HttpClientBuilderPlugin
SolrInfoBean.Category, SolrInfoBean.Group
coreContainer, PROXY_USER_CONFIGS
AUTHENTICATION_PLUGIN_PROP, HTTP_HEADER_X_SOLR_AUTHDATA, metricManager, numAuthenticated, numErrors, numMissingCredentials, numPassThrough, numWrongCredentials, registryName, requests, requestTimes, totalTime
Constructor and Description |
---|
ConfigurableInternodeAuthHadoopPlugin(CoreContainer coreContainer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
SolrHttpClientBuilder |
getHttpClientBuilder(SolrHttpClientBuilder builder) |
void |
init(Map<String,Object> pluginConfig)
This is called upon loading up of a plugin, used for setting it up.
|
void |
setup(Http2SolrClient client) |
doAuthenticate, getInitFilterConfig
authenticate, closeRequest, getCategory, getDescription, getMetricNames, getMetricRegistry, getName, initializeMetrics, interceptInternodeRequest, interceptInternodeRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricsSnapshot, registerMetricName
public ConfigurableInternodeAuthHadoopPlugin(CoreContainer coreContainer)
public void init(Map<String,Object> pluginConfig)
AuthenticationPlugin
init
in class HadoopAuthPlugin
pluginConfig
- Config parameters, possibly from a ZK sourcepublic void setup(Http2SolrClient client)
setup
in interface HttpClientBuilderPlugin
public SolrHttpClientBuilder getHttpClientBuilder(SolrHttpClientBuilder builder)
getHttpClientBuilder
in interface HttpClientBuilderPlugin
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class HadoopAuthPlugin
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.