[ 
https://issues.apache.org/jira/browse/SOLR-12194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Høydahl updated SOLR-12194:
-------------------------------
    Description: 
We should deprecate these methods in {{SolrRequest}}:
{code:java}
  public SolrRequest setBasicAuthCredentials(String user, String password)
  public String getBasicAuthPassword()
  public String getBasicAuthUser()
{code}

The only way forward will be using the ClientBuilderFactory.

For 7.4 we should deprecate these, and for 8.0 (master) remove them. First we 
need to migrate some tests etc that uses the old methods.

  was:
We should deprecate these methods in {{SolrRequest}}:
{code:java}
  public SolrRequest setBasicAuthCredentials(String user, String password)
  public String getBasicAuthPassword()
  public String getBasicAuthUser()
{code}

The only way forward will be using the ClientBuilderFactory.


> Deprecate SolrRequest#setBasicAuthCredentials
> ---------------------------------------------
>
>                 Key: SOLR-12194
>                 URL: https://issues.apache.org/jira/browse/SOLR-12194
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>            Reporter: Jan Høydahl
>            Priority: Major
>             Fix For: 7.4
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We should deprecate these methods in {{SolrRequest}}:
> {code:java}
>   public SolrRequest setBasicAuthCredentials(String user, String password)
>   public String getBasicAuthPassword()
>   public String getBasicAuthUser()
> {code}
> The only way forward will be using the ClientBuilderFactory.
> For 7.4 we should deprecate these, and for 8.0 (master) remove them. First we 
> need to migrate some tests etc that uses the old methods.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to