Skip to content

Instantly share code, notes, and snippets.

@rmalchow
rmalchow / solr_pw_hash.md
Last active February 5, 2026 14:41
how to generate password hash and salt for basic auth in solr

solr has a basic authentication module. the description of how to generate the necessary hash + salt string is very hazy. there is this:

https://github.com/ansgarwiechers/solrpasswordhash

project with java code extracted from the solr source .... and then there is this: