Skip to content

Support for basic authentication (collection control) #276

@pigeon-geng

Description

@pigeon-geng

@kiranchitturi
I see the #118 . Why not like this

val options = Map(
  "collection" -> "{solr_collection_name}",
  "zkhost" -> "{zk_connect_string}",
  "httpBasicAuthUser" -> "{httpBasicAuthUser}",
  "httpBasicAuthPassword" -> "{httpBasicAuthPassword}",
)
val df = spark.read.format("solr")
  .options(options)
  .load

This seems to be more friendly to multi-permission support.
It can be controlled by spark options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions