Authentication security module disable account [Since XWiki 11.6 RC1]

Last modified by Ilie Andriuta on 2022/05/03 09:28

Home Web Tests Home Run Test

Steps to reproduce

  1. Login as Admin
  2. Go to Administer Wiki > Users & Rights > Authentication
  3. On 'Failure Strategies' select 'Disable account'
  4. On 'Maximum number of authorized attempts' set 4 and 'Save'
  5. Create an user (e.g. U1)
  6. Logout
  7. Click on Drawer > Log-in
  8. Fill the user's name (U1) and a wrong password
  9. Click Log-in
  10. Repeat Steps 7 and 8 three times more
  11. Login as Admim
  12. Go to user's (U1) profile page and enable its account
  13. Logout
  14. Fill in the username and correct password for the user
  15. Click Log-in

Expected results

- The failure strategy is triggered whenever there are a number of failed attempts (according to the setting) in a given time window (default 300 s).
- When the max number of authorized attempts is reached, the account is disabled and the following message is displayed: 'Error: This account has been disabled. Please ask the administrator to enable it back.'
- The user can login successfully after its account was enabled by Admin.

Results

per page of Page
Jira Issue
Warning
The environment prevents the table from loading data.
 
Page

Get Connected