Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LockoutPolicy.lockDuration And LockoutPolicy.resetAfter Do Not Work #857

Closed
LeoNerdoG opened this issue Oct 12, 2017 · 0 comments
Closed
Assignees
Labels
Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console

Comments

@LeoNerdoG
Copy link
Contributor

LeoNerdoG commented Oct 12, 2017

When setting LockoutPolicy.lockDuration and LockoutPolicy.resetAfter to some random number there is no change in lock behaviour.

Testflow:

  1. log into kapua-sys
  2. create new child account (e.g. kapua-child1) and add new user (e.g. kapua-user1)
  3. Set parameters to:
  • LockoutPolicy.resetAfter: 10 (seconds)
  • LockoutPolicy.lockDuration: 60 (seconds)
  1. give kapua-user1 ALL permissions
  2. log out as kapua-sys and try to log into kapua-user1 (entering wrong password)
    Both values of these settings get somehow ignored (just like at LockoutPolicy.maxFailures).
    Error reported:
    Login Failed.
    Your user has been locked. Contact your account administrator to unlock.

Browsers used (although this is not a browser issue):

  • Google Chrome (Version 61.0.3163.100 (Official Build) (64-bit))
  • Safari (Version 11.0 (12604.1.38.1.7))
  • Mozilla Firefox (56.0.1 (64-bit))
  • Opera (Version 48.0.2685.39)
@lorthirk lorthirk self-assigned this Oct 13, 2017
@lorthirk lorthirk added the Console GWT This issue/PR is related to Admin Web Console label Oct 13, 2017
@stefanomorson stefanomorson added the Bug This is a bug or an unexpected behaviour. Fix it! label Nov 5, 2017
Coduz pushed a commit that referenced this issue Nov 7, 2017
fixes #855, fixes #856, fixes #857

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
Coduz pushed a commit that referenced this issue Nov 8, 2017
fixes #855, fixes #856, fixes #857

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console
Projects
None yet
Development

No branches or pull requests

3 participants