diff --git a/src/site/content/configuration.adoc b/src/site/content/configuration.adoc index 89b4ec335..417fcee54 100644 --- a/src/site/content/configuration.adoc +++ b/src/site/content/configuration.adoc @@ -465,7 +465,7 @@ You do that by configuring the implicitly created `iniRealm` in the [main] secti [users] # user1 = sha256-hashed-hex-encoded password, role1, role2, ... -user1 = $shiro2$argon2id$v=19$t=1,m=65536,p=4$H5z81Jpr4ntZr3MVtbOUBw$fJDgZCLZjMC6A2HhnSpxULMmvVdW3su+/GCU3YbxfFQ, role1, role2, ... +user1 = "$shiro2$argon2id$v=19$t=1,m=65536,p=4$H5z81Jpr4ntZr3MVtbOUBw$fJDgZCLZjMC6A2HhnSpxULMmvVdW3su+/GCU3YbxfFQ", role1, role2, ... ---- [#Configuration-INIConfiguration-Sections-roles] diff --git a/src/site/content/v2/command-line-hasher.adoc b/src/site/content/v2/command-line-hasher.adoc index a6ed3fc37..e5df53a5c 100644 --- a/src/site/content/v2/command-line-hasher.adoc +++ b/src/site/content/v2/command-line-hasher.adoc @@ -79,7 +79,7 @@ Take this value and place it as the password in the user definition line (follow ---- [users] ... -user1 = $shiro2$argon2id$v=19$t=1,m=65536,p=4$H5z81Jpr4ntZr3MVtbOUBw$fJDgZCLZjMC6A2HhnSpxULMmvVdW3su+/GCU3YbxfFQ +user1 = "$shiro2$argon2id$v=19$t=1,m=65536,p=4$H5z81Jpr4ntZr3MVtbOUBw$fJDgZCLZjMC6A2HhnSpxULMmvVdW3su+/GCU3YbxfFQ" ---- You will also need to ensure that the implicit `iniRealm` uses a `CredentialsMatcher` that knows how to perform secure hashed password comparisons.