public class Krb5HttpClientBuilder extends Object implements HttpClientBuilderFactory
Modifier and Type | Field and Description |
---|---|
static String |
LOGIN_CONFIG_PROP |
Constructor and Description |
---|
Krb5HttpClientBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
SolrHttpClientBuilder |
getBuilder() |
SolrHttpClientBuilder |
getBuilder(SolrHttpClientBuilder builder) |
SolrHttpClientBuilder |
getHttpClientBuilder(Optional<SolrHttpClientBuilder> builder)
This method configures the SolrHttpClientBuilder by overriding the
configuration of passed SolrHttpClientBuilder or as a new instance.
|
static void |
regenerateJaasConfiguration()
The jaasConfig is static, which makes it problematic for testing in the same jvm.
|
void |
setup(Http2SolrClient http2Client) |
public static final String LOGIN_CONFIG_PROP
public static void regenerateJaasConfiguration()
public SolrHttpClientBuilder getBuilder()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public SolrHttpClientBuilder getHttpClientBuilder(Optional<SolrHttpClientBuilder> builder)
HttpClientBuilderFactory
getHttpClientBuilder
in interface HttpClientBuilderFactory
builder
- The instance of the SolrHttpClientBuilder which should
by configured (optional).public void setup(Http2SolrClient http2Client)
setup
in interface HttpClientBuilderFactory
public SolrHttpClientBuilder getBuilder(SolrHttpClientBuilder builder)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.