ottoka commented on a change in pull request #753:
URL: https://github.com/apache/james-project/pull/753#discussion_r753832506



##########
File path: 
server/apps/distributed-app/docs/modules/ROOT/pages/configure/usersrepository.adoc
##########
@@ -39,6 +39,15 @@ acting on the behalf of any user.
 | verifyFailureDelay
 | Delay after a failed authentication attempt with an invalid user name or 
password. Duration string defaulting to seconds, e.g. `2`, `2s`, `2000ms`. 
Default `0s` (disabled).
 
+| algorithm
+| use a specific hash algorithm to compute passwords, e.g. `SHA-512` (default)
+
+| hashingMode
+| change the way password hashes are computed: `plain` (default), `salted`, 
`legacy`

Review comment:
       In the latest push, `salted` is the default as described above. People 
only need to configure `hashingMode` if they want to keep plain passwords for 
some reason. (e.g. I believe someone on the mailing list mentioned synchronized 
hashes from a third party database.)

##########
File path: 
server/apps/distributed-app/docs/modules/ROOT/pages/configure/usersrepository.adoc
##########
@@ -39,6 +39,15 @@ acting on the behalf of any user.
 | verifyFailureDelay
 | Delay after a failed authentication attempt with an invalid user name or 
password. Duration string defaulting to seconds, e.g. `2`, `2s`, `2000ms`. 
Default `0s` (disabled).
 
+| algorithm
+| use a specific hash algorithm to compute passwords, e.g. `SHA-512` (default)
+
+| hashingMode
+| change the way password hashes are computed: `plain` (default), `salted`, 
`legacy`
+
+| hashingModeFallback

Review comment:
       In the latest push, `hashingModeFallback` defaults to `plain`, assuming 
a somewhat recent James installation. Explicit configuration is only necessary 
for older installations stuck on `legacy` mode (see edited upgrade 
instructions).




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to