Class Krb5HttpClientBuilder
- java.lang.Object
-
- org.apache.solr.client.solrj.impl.Krb5HttpClientBuilder
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,HttpClientBuilderFactory
@Deprecated(since="9.0") public class Krb5HttpClientBuilder extends Object implements HttpClientBuilderFactory
Deprecated.Please consider alternatives involving the new Solr Http2ClientKerberos-enabled SolrHttpClientBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Krb5HttpClientBuilder.SolrJaasConfiguration
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description static String
LOGIN_CONFIG_PROP
Deprecated.
-
Constructor Summary
Constructors Constructor Description Krb5HttpClientBuilder()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.SolrHttpClientBuilder
getBuilder()
Deprecated.SolrHttpClientBuilder
getBuilder(SolrHttpClientBuilder builder)
Deprecated.SolrHttpClientBuilder
getHttpClientBuilder(SolrHttpClientBuilder builder)
Deprecated.This method configures the SolrHttpClientBuilder by overriding the configuration of passed SolrHttpClientBuilder or as a new instance.static void
regenerateJaasConfiguration()
Deprecated.The jaasConfig is static, which makes it problematic for testing in the same jvm.void
setup(Http2SolrClient http2Client)
Deprecated.
-
-
-
Field Detail
-
LOGIN_CONFIG_PROP
public static final String LOGIN_CONFIG_PROP
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
regenerateJaasConfiguration
public static void regenerateJaasConfiguration()
Deprecated.The jaasConfig is static, which makes it problematic for testing in the same jvm. Call this function to regenerate the static config (this is not thread safe). Note: only used for tests
-
getBuilder
public SolrHttpClientBuilder getBuilder()
Deprecated.
-
close
public void close()
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getHttpClientBuilder
public SolrHttpClientBuilder getHttpClientBuilder(SolrHttpClientBuilder builder)
Deprecated.Description copied from interface:HttpClientBuilderFactory
This method configures the SolrHttpClientBuilder by overriding the configuration of passed SolrHttpClientBuilder or as a new instance.- Specified by:
getHttpClientBuilder
in interfaceHttpClientBuilderFactory
- Parameters:
builder
- The instance of the SolrHttpClientBuilder which should by configured (optional).- Returns:
- the SolrHttpClientBuilder
-
setup
public void setup(Http2SolrClient http2Client)
Deprecated.- Specified by:
setup
in interfaceHttpClientBuilderFactory
-
getBuilder
public SolrHttpClientBuilder getBuilder(SolrHttpClientBuilder builder)
Deprecated.
-
-