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 classKrb5HttpClientBuilder.SolrJaasConfigurationDeprecated.
-
Field Summary
Fields Modifier and Type Field Description static StringLOGIN_CONFIG_PROPDeprecated.
-
Constructor Summary
Constructors Constructor Description Krb5HttpClientBuilder()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.SolrHttpClientBuildergetBuilder()Deprecated.SolrHttpClientBuildergetBuilder(SolrHttpClientBuilder builder)Deprecated.SolrHttpClientBuildergetHttpClientBuilder(SolrHttpClientBuilder builder)Deprecated.This method configures the SolrHttpClientBuilder by overriding the configuration of passed SolrHttpClientBuilder or as a new instance.static voidregenerateJaasConfiguration()Deprecated.The jaasConfig is static, which makes it problematic for testing in the same jvm.voidsetup(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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
getHttpClientBuilder
public SolrHttpClientBuilder getHttpClientBuilder(SolrHttpClientBuilder builder)
Deprecated.Description copied from interface:HttpClientBuilderFactoryThis method configures the SolrHttpClientBuilder by overriding the configuration of passed SolrHttpClientBuilder or as a new instance.- Specified by:
getHttpClientBuilderin 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:
setupin interfaceHttpClientBuilderFactory
-
getBuilder
public SolrHttpClientBuilder getBuilder(SolrHttpClientBuilder builder)
Deprecated.
-
-