Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12194

Deprecate SolrRequest#setBasicAuthCredentials

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SolrJ
    • Labels:
      None

      Description

      We should deprecate these methods in SolrRequest:

        public SolrRequest setBasicAuthCredentials(String user, String password)
        public String getBasicAuthPassword()
        public String getBasicAuthUser()
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                janhoy Jan H√łydahl
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h