Skip to content

Commit

Permalink
Update basic-authentication-plugin.adoc (#2446)
Browse files Browse the repository at this point in the history
for the pwd encode format, there missed a ')', which is confusing.
  • Loading branch information
gspgsp authored and epugh committed May 8, 2024
1 parent cc095cc commit e6fbb2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This file and where to put it is described in detail in the section xref:authent
If running in cloud mode, you can use the `bin/solr auth` command-line utility to enable security for a new installation, see: `bin/solr auth --help` for more details.

For Basic authentication, `security.json` must have an `authentication` block which defines the class being used for authentication.
Usernames and passwords (Format: `base64(sha256(sha256(salt+password)) base64(salt)`) could be added when the file is created, or can be added later with the Authentication API, described below.
Usernames and passwords (Format: `base64(sha256(sha256(salt+password))) base64(salt)`) could be added when the file is created, or can be added later with the Authentication API, described below.

An example `security.json` showing `authentication` and `authorization` blocks is shown below to show how authentication and authorization plugins can work together:

Expand Down

0 comments on commit e6fbb2b

Please sign in to comment.